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)
commit0fd43d0cd030ea850796d4a4767452dbcf3bae17
tree440cb85ac264da9b23353efa8e1baf9e527fdc6e
parent762405e3ce45ed42b711f6d7677d0f797231571c
parent69649ef8405320f81497f4757faac8234f61b167
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 <davem@davemloft.net>