diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2014-12-31 17:41:14 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2015-01-07 10:13:46 -0500 |
commit | 2891a8323d4397a912123c066165ef9297b51607 (patch) | |
tree | abf9dfba3fb232cb62bd5f46cd2a381e7a0f5ae0 /src/hw/usb-ohci.h | |
parent | 65034a41325937681ea5c5db510b3193c129b62b (diff) | |
download | seabios-hppa-2891a8323d4397a912123c066165ef9297b51607.zip seabios-hppa-2891a8323d4397a912123c066165ef9297b51607.tar.gz seabios-hppa-2891a8323d4397a912123c066165ef9297b51607.tar.bz2 |
usb: Control transfers always have an 8 byte command size
There is no need to pass 'cmdsize' to the usb drivers as the cmdsize
is always 8 bytes.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/hw/usb-ohci.h')
-rw-r--r-- | src/hw/usb-ohci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hw/usb-ohci.h b/src/hw/usb-ohci.h index 3dbc0e0..5a275a3 100644 --- a/src/hw/usb-ohci.h +++ b/src/hw/usb-ohci.h @@ -9,7 +9,7 @@ struct usb_pipe; struct usb_pipe *ohci_realloc_pipe(struct usbdevice_s *usbdev , struct usb_pipe *upipe , struct usb_endpoint_descriptor *epdesc); -int ohci_send_pipe(struct usb_pipe *p, int dir, const void *cmd, int cmdsize +int ohci_send_pipe(struct usb_pipe *p, int dir, const void *cmd , void *data, int datasize); int ohci_poll_intr(struct usb_pipe *p, void *data); |