]> git.baikalelectronics.ru Git - kernel.git/commit
r8152: remove NCM mode from REALTEK_USB_DEVICE macro
authorHayes Wang <hayeswang@realtek.com>
Fri, 23 Apr 2021 09:44:54 +0000 (17:44 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Apr 2021 20:55:42 +0000 (13:55 -0700)
commite97bae06b48104413620285cc27a854e6777a891
treed00f9e5a97714c23a7767d3aff071667fd8482fa
parent2b7fb8780c1f892512205cac0c345a449c176fc0
r8152: remove NCM mode from REALTEK_USB_DEVICE macro

The RTL8156 support CDC NCM mode. And users could set the configuration
of the USB device between vendor and NCM mode dynamically by themselves.
That is, the driver doesn't need to set vendor mode from NCM mode.

Fixes: 20d6936ad320 ("r8152: support new chips")
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c