Some device and firmware combinations with NCM support will end up using the cdc_ncm driver by default. This is sub- optimal for the same reasons we've previously accepted the blacklist hack in cdc_ether. The recent support for subclassing the generic USB device driver allows us to create a very slim driver with the same functionality. This patch set uses that to implement a device specific configuration default which is independent of any USB interface drivers. This means that it works equally whether the device initially ends up in NCM or ECM mode, without depending on any code in the respective class drivers. Bjørn Mork (2): r8152: add USB device driver for config selection cdc_ether: no need to blacklist any r8152 devices drivers/net/usb/cdc_ether.c | 114 ------------------------------------ drivers/net/usb/r8152.c | 113 +++++++++++++++++++++++++---------- 2 files changed, 81 insertions(+), 146 deletions(-) -- 2.30.2