diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2012-02-13 18:58:17 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-03-03 16:55:24 +0100 |
commit | 23faf2bc9e80e3ee2c06a3a61bb8a02e43a97097 (patch) | |
tree | 853fe944acf4f20055ad86d41f6001a3652c8914 /include/usb.h | |
parent | c08b1b264d9979f4de9838b9082c6e7e7d86fb72 (diff) | |
download | u-boot-imx-23faf2bc9e80e3ee2c06a3a61bb8a02e43a97097.zip u-boot-imx-23faf2bc9e80e3ee2c06a3a61bb8a02e43a97097.tar.gz u-boot-imx-23faf2bc9e80e3ee2c06a3a61bb8a02e43a97097.tar.bz2 |
USB: Separate out USB hub driver
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Remy Bohmer <linux@bohmer.net>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/usb.h')
-rw-r--r-- | include/usb.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/usb.h b/include/usb.h index 06170cd..9b74050 100644 --- a/include/usb.h +++ b/include/usb.h @@ -367,4 +367,12 @@ struct usb_hub_device { struct usb_hub_descriptor desc; }; +int usb_hub_probe(struct usb_device *dev, int ifnum); +void usb_hub_reset(void); +int hub_port_reset(struct usb_device *dev, int port, + unsigned short *portstat); + +struct usb_device *usb_alloc_new_device(void); +int usb_new_device(struct usb_device *dev); + #endif /*_USB_H_ */ |