diff options
author | Michael Brown <mcb30@ipxe.org> | 2015-05-08 16:50:47 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2015-05-09 20:09:08 +0100 |
commit | a66fd8920df1e0a534d0a8ed68adb6143a304a66 (patch) | |
tree | 8068a0cdaed2b181c35bfab53e5b1465fd93d920 /src/include/ipxe/usb.h | |
parent | b3de9664c7b7d4878d3dcd5a3c62a8e0155d5e89 (diff) | |
download | ipxe-a66fd8920df1e0a534d0a8ed68adb6143a304a66.zip ipxe-a66fd8920df1e0a534d0a8ed68adb6143a304a66.tar.gz ipxe-a66fd8920df1e0a534d0a8ed68adb6143a304a66.tar.bz2 |
[usb] Add find_usb_bus_by_location() helper function
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/usb.h')
-rw-r--r-- | src/include/ipxe/usb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ipxe/usb.h b/src/include/ipxe/usb.h index ee826bc..eb5b99f 100644 --- a/src/include/ipxe/usb.h +++ b/src/include/ipxe/usb.h @@ -1211,6 +1211,8 @@ extern struct usb_bus * alloc_usb_bus ( struct device *dev, extern int register_usb_bus ( struct usb_bus *bus ); extern void unregister_usb_bus ( struct usb_bus *bus ); extern void free_usb_bus ( struct usb_bus *bus ); +extern struct usb_bus * find_usb_bus_by_location ( unsigned int bus_type, + unsigned int location ); extern int usb_alloc_address ( struct usb_bus *bus ); extern void usb_free_address ( struct usb_bus *bus, unsigned int address ); |