netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] r8152: allow firmwares with NCM support
@ 2023-01-06 16:07 Bjørn Mork
  2023-01-06 16:07 ` [PATCH 1/2] r8152: add USB device driver for config selection Bjørn Mork
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Bjørn Mork @ 2023-01-06 16:07 UTC (permalink / raw)
  To: netdev; +Cc: Hayes Wang, linux-usb, Oliver Neukum, Bjørn Mork

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-03-06  7:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-06 16:07 [PATCH 0/2] r8152: allow firmwares with NCM support Bjørn Mork
2023-01-06 16:07 ` [PATCH 1/2] r8152: add USB device driver for config selection Bjørn Mork
2023-01-06 16:07 ` [PATCH 2/2] cdc_ether: no need to blacklist any r8152 devices Bjørn Mork
2023-01-09  7:50 ` [PATCH 0/2] r8152: allow firmwares with NCM support patchwork-bot+netdevbpf
2023-03-04 10:00 ` Juhyung Park
2023-03-06  7:19   ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).