mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
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>
This commit is contained in:
parent
c08b1b264d
commit
23faf2bc9e
4 changed files with 487 additions and 431 deletions
|
@ -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_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue