aboutsummaryrefslogtreecommitdiff
path: root/src/usb-uhci.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2010-02-28 02:17:28 -0500
committerKevin O'Connor <kevin@koconnor.net>2010-03-09 19:59:10 -0500
commit4547eb904992b12771f040a8c1abc84892a64f98 (patch)
tree559607191f559f01ec025b174902c49992520fc6 /src/usb-uhci.h
parent8ebcac023dad947a5229dce39e5864bbceeb18f3 (diff)
downloadseabios-hppa-4547eb904992b12771f040a8c1abc84892a64f98.zip
seabios-hppa-4547eb904992b12771f040a8c1abc84892a64f98.tar.gz
seabios-hppa-4547eb904992b12771f040a8c1abc84892a64f98.tar.bz2
Replace USB encoded 'u32 endp' scheme with explicit struct fields.
Expand 'struct usb_pipe' with all the fields that are needed from the encoded 'u32 endp' field.
Diffstat (limited to 'src/usb-uhci.h')
-rw-r--r--src/usb-uhci.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/usb-uhci.h b/src/usb-uhci.h
index 8dbee9c..894027b 100644
--- a/src/usb-uhci.h
+++ b/src/usb-uhci.h
@@ -4,14 +4,14 @@
// usb-uhci.c
void uhci_init(void *data);
struct usb_pipe;
-void uhci_free_pipe(struct usb_pipe *pipe);
-struct usb_pipe *uhci_alloc_control_pipe(u32 endp);
-int uhci_control(struct usb_pipe *pipe, int dir, const void *cmd, int cmdsize
+void uhci_free_pipe(struct usb_pipe *p);
+struct usb_pipe *uhci_alloc_control_pipe(struct usb_pipe *dummy);
+int uhci_control(struct usb_pipe *p, int dir, const void *cmd, int cmdsize
, void *data, int datasize);
-struct usb_pipe *uhci_alloc_bulk_pipe(u32 endp);
-int uhci_send_bulk(struct usb_pipe *pipe, int dir, void *data, int datasize);
-struct usb_pipe *uhci_alloc_intr_pipe(u32 endp, int frameexp);
-int uhci_poll_intr(struct usb_pipe *pipe, void *data);
+struct usb_pipe *uhci_alloc_bulk_pipe(struct usb_pipe *dummy);
+int uhci_send_bulk(struct usb_pipe *p, int dir, void *data, int datasize);
+struct usb_pipe *uhci_alloc_intr_pipe(struct usb_pipe *dummy, int frameexp);
+int uhci_poll_intr(struct usb_pipe *p, void *data);
/****************************************************************