From 9dc8ba19c50fc0b1623c654bcfe6caa903a4c36c Mon Sep 17 00:00:00 2001 From: Ted Chen Date: Wed, 20 Jan 2016 14:24:52 +0800 Subject: 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 [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 --- include/usb_ether.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/usb_ether.h') diff --git a/include/usb_ether.h b/include/usb_ether.h index c6d1416048..51fce4e95d 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__ */ -- cgit v1.2.1