Merge branch 'r8152-NCM-firmwares'
authorDavid S. Miller <davem@davemloft.net>
Mon, 9 Jan 2023 07:39:53 +0000 (07:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jan 2023 07:39:53 +0000 (07:39 +0000)
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 <davem@davemloft.net>

Trivial merge