diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2014-10-16 11:55:16 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2014-10-16 14:46:20 -0400 |
commit | 20c9be39d3f04d5ff10e76f22e28cc220af1aac4 (patch) | |
tree | 2f8f43e7cb8a9192de0e75edff8a906812c0d6c7 /src/hw/usb.c | |
parent | bfb7b58b30681f5c421e838fdef3dbc358e80f1e (diff) | |
download | seabios-hppa-20c9be39d3f04d5ff10e76f22e28cc220af1aac4.zip seabios-hppa-20c9be39d3f04d5ff10e76f22e28cc220af1aac4.tar.gz seabios-hppa-20c9be39d3f04d5ff10e76f22e28cc220af1aac4.tar.bz2 |
usb: Rename ?hci_control() to ?hci_send_control()
This is just function renaming - no code implementation changes.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/hw/usb.c')
-rw-r--r-- | src/hw/usb.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/hw/usb.c b/src/hw/usb.c index 153e153..f870481 100644 --- a/src/hw/usb.c +++ b/src/hw/usb.c @@ -60,20 +60,20 @@ usb_update_pipe(struct usbdevice_s *usbdev, struct usb_pipe *pipe // Send a message on a control pipe using the default control descriptor. static int -send_control(struct usb_pipe *pipe, int dir, const void *cmd, int cmdsize - , void *data, int datasize) +usb_send_control(struct usb_pipe *pipe, int dir, const void *cmd, int cmdsize + , void *data, int datasize) { ASSERT32FLAT(); switch (pipe->type) { default: case USB_TYPE_UHCI: - return uhci_control(pipe, dir, cmd, cmdsize, data, datasize); + return uhci_send_control(pipe, dir, cmd, cmdsize, data, datasize); case USB_TYPE_OHCI: - return ohci_control(pipe, dir, cmd, cmdsize, data, datasize); + return ohci_send_control(pipe, dir, cmd, cmdsize, data, datasize); case USB_TYPE_EHCI: - return ehci_control(pipe, dir, cmd, cmdsize, data, datasize); + return ehci_send_control(pipe, dir, cmd, cmdsize, data, datasize); case USB_TYPE_XHCI: - return xhci_control(pipe, dir, cmd, cmdsize, data, datasize); + return xhci_send_control(pipe, dir, cmd, cmdsize, data, datasize); } } @@ -128,8 +128,8 @@ int send_default_control(struct usb_pipe *pipe, const struct usb_ctrlrequest *req , void *data) { - return send_control(pipe, req->bRequestType & USB_DIR_IN - , req, sizeof(*req), data, req->wLength); + return usb_send_control(pipe, req->bRequestType & USB_DIR_IN + , req, sizeof(*req), data, req->wLength); } // Free an allocated control or bulk pipe. |