aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorhayeswang <hayeswang@realtek.com>2014-12-04 10:43:11 +0800
committerDavid S. Miller <davem@davemloft.net>2014-12-09 13:41:24 -0500
commitd9a28c5b4c9a69f3036743bed36902b45dd39f1d (patch)
treec6057c2d03eb1e9d7f70a949d2b9d0894ecf7dbf /net
parent6ffe75eb53564953e75c051e1c28676e1e56f385 (diff)
r8152: redefine REALTEK_USB_DEVICE
Redefine REALTEK_USB_DEVICE for the desired USB interface for probe(). There are three USB interfaces for the device. USB_CLASS_COMM and USB_CLASS_CDC_DATA are for ECM mode (config #2). USB_CLASS_VENDOR_SPEC is for the vendor mode (config #1). However, we are not interesting in USB_CLASS_CDC_DATA for probe(), so redefine REALTEK_USB_DEVICE to ignore the USB interface class of USB_CLASS_CDC_DATA. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions