summaryrefslogtreecommitdiff
path: root/include/usb_ether.h
diff options
context:
space:
mode:
authorTed Chen <tedchen@realtek.com>2016-01-20 14:24:52 +0800
committerMarek Vasut <marex@denx.de>2016-01-23 16:22:34 +0100
commit9dc8ba19c50fc0b1623c654bcfe6caa903a4c36c (patch)
tree8bec0049980f6032b3b07da80e288487a7596c97 /include/usb_ether.h
parent1ff6015ecba42f7b02735c61ec90ef9a1683ab67 (diff)
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>
Diffstat (limited to 'include/usb_ether.h')
-rw-r--r--include/usb_ether.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/usb_ether.h b/include/usb_ether.h
index c6d1416048a..51fce4e95dc 100644
--- a/include/usb_ether.h
+++ b/include/usb_ether.h
@@ -131,6 +131,12 @@ int smsc95xx_eth_probe(struct usb_device *dev, unsigned int ifnum,
struct ueth_data *ss);
int smsc95xx_eth_get_info(struct usb_device *dev, struct ueth_data *ss,
struct eth_device *eth);
+
+void r8152_eth_before_probe(void);
+int r8152_eth_probe(struct usb_device *dev, unsigned int ifnum,
+ struct ueth_data *ss);
+int r8152_eth_get_info(struct usb_device *dev, struct ueth_data *ss,
+ struct eth_device *eth);
#endif
#endif /* __USB_ETHER_H__ */