From: David S. Miller Date: Mon, 9 Jan 2023 07:39:53 +0000 (+0000) Subject: Merge branch 'r8152-NCM-firmwares' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0fd43d0cd030ea850796d4a4767452dbcf3bae17;p=linux.git Merge branch 'r8152-NCM-firmwares' Bjørn Mork says: ==================== r8152: allow firmwares with NCM support 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. ==================== Signed-off-by: David S. Miller --- 0fd43d0cd030ea850796d4a4767452dbcf3bae17