diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2012-03-09 07:52:33 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2012-03-10 21:01:27 -0500 |
commit | 54bf207e59afe296de7dea8de4b39c3546a11bdd (patch) | |
tree | 5328878c775a5a304919fb5661910517b49165db /src/usb-uhci.h | |
parent | 77ab4e100cd0a612bbe853d39545ad86a5941451 (diff) | |
download | seabios-hppa-54bf207e59afe296de7dea8de4b39c3546a11bdd.zip seabios-hppa-54bf207e59afe296de7dea8de4b39c3546a11bdd.tar.gz seabios-hppa-54bf207e59afe296de7dea8de4b39c3546a11bdd.tar.bz2 |
usb: Pass 'struct usbdevice_s' into controller alloc_async functions.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/usb-uhci.h')
-rw-r--r-- | src/usb-uhci.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/usb-uhci.h b/src/usb-uhci.h index 0706e8f..035a565 100644 --- a/src/usb-uhci.h +++ b/src/usb-uhci.h @@ -3,8 +3,11 @@ // usb-uhci.c void uhci_init(struct pci_device *pci, int busid); +struct usbdevice_s; +struct usb_endpoint_descriptor; +struct usb_pipe *uhci_alloc_async_pipe(struct usbdevice_s *usbdev + , struct usb_endpoint_descriptor *epdesc); struct usb_pipe; -struct usb_pipe *uhci_alloc_async_pipe(struct usb_pipe *dummy); int uhci_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); |