]> 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)
commite7afcf91e2a306c82379cd703a508d28d9bd40bc
treed00f9e5a97714c23a7767d3aff071667fd8482fa
parent213c070e9551a9aa8595ff327dc9d3daf5b499e7
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: 4f086ebc8ece ("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