usb: eth: add Realtek RTL8152B/RTL8153 DRIVER

This patch adds driver support for the Realtek RTL8152B/RTL8153 USB
network adapters.

Signed-off-by: Ted Chen <tedchen at realtek.com>
[swarren, fixed a few compiler warnings]
[swarren, with permission, converted license header to SPDX]
[swarren, removed printf() spew during probe()]
Signed-off-by: Stephen Warren <swarren at nvidia.com>
This commit is contained in:
Ted Chen 2016-01-20 14:24:52 +08:00 committed by Marek Vasut
parent 1ff6015ecb
commit 9dc8ba19c5
6 changed files with 3081 additions and 0 deletions

View file

@ -179,6 +179,13 @@ static const struct usb_eth_prob_dev prob_dev[] = {
.probe = smsc95xx_eth_probe,
.get_info = smsc95xx_eth_get_info,
},
#endif
#ifdef CONFIG_USB_ETHER_RTL8152
{
.before_probe = r8152_eth_before_probe,
.probe = r8152_eth_probe,
.get_info = r8152_eth_get_info,
},
#endif
{ }, /* END */
};