mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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:
parent
1ff6015ecb
commit
9dc8ba19c5
6 changed files with 3081 additions and 0 deletions
|
@ -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 */
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue