diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2014-10-16 13:33:35 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2014-10-16 16:30:15 -0400 |
commit | 89452cc2d65f12bab28a6355903e134538e67484 (patch) | |
tree | c93682e19b07b0d75c983a08339dae921d0e9023 /src/hw/usb-uhci.h | |
parent | c427deff961c022d06bc3527e37dea654393e5cb (diff) | |
download | seabios-89452cc2d65f12bab28a6355903e134538e67484.tar.gz |
uhci: Export uhci_realloc_pipe() instead of uhci_alloc_pipe()
Support alloc, update, and free from the single exported function.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/hw/usb-uhci.h')
-rw-r--r-- | src/hw/usb-uhci.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/hw/usb-uhci.h b/src/hw/usb-uhci.h index 6b675bbd..541954ad 100644 --- a/src/hw/usb-uhci.h +++ b/src/hw/usb-uhci.h @@ -5,9 +5,10 @@ void uhci_setup(void); struct usbdevice_s; struct usb_endpoint_descriptor; -struct usb_pipe *uhci_alloc_pipe(struct usbdevice_s *usbdev - , struct usb_endpoint_descriptor *epdesc); struct usb_pipe; +struct usb_pipe *uhci_realloc_pipe(struct usbdevice_s *usbdev + , struct usb_pipe *upipe + , struct usb_endpoint_descriptor *epdesc); int uhci_send_control(struct usb_pipe *p, int dir, const void *cmd, int cmdsize , void *data, int datasize); int uhci_send_bulk(struct usb_pipe *p, int dir, void *data, int datasize); |