Re: [PATCH net-next] r8152: redefine REALTEK_USB_DEVICE

From: David Miller
Date: Tue Dec 09 2014 - 13:41:43 EST

From: Hayes Wang <hayeswang@xxxxxxxxxxx>
Date: Thu, 4 Dec 2014 10:43:11 +0800

> 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@xxxxxxxxxxx>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at