X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fusb-uhci.h;h=b284fcc98738b480d413e602c50329dcd821d901;hb=59f02834f38c63be537f63a702c69b68af913bfa;hp=6ad7e1582989a4e8c0eb7ca53a4fee0bbab88b77;hpb=91031edcb2a6adf2510478bc81a4df68c5e3daf2;p=seabios.git diff --git a/src/usb-uhci.h b/src/usb-uhci.h index 6ad7e15..b284fcc 100644 --- a/src/usb-uhci.h +++ b/src/usb-uhci.h @@ -1,13 +1,15 @@ #ifndef __USB_UHCI_H #define __USB_UHCI_H +#include "usb.h" // struct usb_pipe + // usb-uhci.c struct usb_s; int uhci_init(struct usb_s *cntl); int uhci_control(u32 endp, int dir, const void *cmd, int cmdsize , void *data, int datasize); -void *uhci_alloc_intr_pipe(u32 endp, int period); -int uhci_poll_intr(void *pipe, void *data); +struct usb_pipe *uhci_alloc_intr_pipe(u32 endp, int period); +int uhci_poll_intr(struct usb_pipe *pipe, void *data); /**************************************************************** @@ -119,7 +121,7 @@ struct uhci_qh { // Software fields struct uhci_td *next_td; - u32 reserved; + struct usb_pipe pipe; } PACKED; #define UHCI_PTR_BITS 0x000F