aboutsummaryrefslogtreecommitdiff
path: root/src/ps2port.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2010-02-26 08:57:13 -0500
committerKevin O'Connor <kevin@koconnor.net>2010-02-28 17:26:25 -0500
commit357bdfa26a681d614f04e842f85850fe5848f6fe (patch)
tree3b992d2b421d990cf3fe41ed5401826e3015bdf1 /src/ps2port.c
parent7fb8ba866e112491feb64b2cf82b762fd9071f89 (diff)
downloadseabios-hppa-357bdfa26a681d614f04e842f85850fe5848f6fe.zip
seabios-hppa-357bdfa26a681d614f04e842f85850fe5848f6fe.tar.gz
seabios-hppa-357bdfa26a681d614f04e842f85850fe5848f6fe.tar.bz2
Prefer passing a USB "pipe" structure over a USB endp encoding.
Instead of passing the "u32 endp" encoding of the usb endpoint, allocate a "struct usb_pipe" for each end point and pass that. Allocate a control pipe for every device found. Support freeing the pipes after they are done. Implement pipe allocation and freeing for both UHCI and OHCI controllers. Also, don't define every UHCI qh to include a pipe - create a separate structure "struct uhci_pipe". Also, be sure to clear the USBControllers on reset. Also, convert usb_hub_init to return 0 on success. Also, cleanup some of the USB debug messages to make them more consistent.
Diffstat (limited to 'src/ps2port.c')
-rw-r--r--src/ps2port.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ps2port.c b/src/ps2port.c
index 49bf551..26c55f2 100644
--- a/src/ps2port.c
+++ b/src/ps2port.c
@@ -415,7 +415,7 @@ keyboard_init(void *data)
if (ret)
return;
- dprintf(1, "keyboard initialized\n");
+ dprintf(1, "PS2 keyboard initialized\n");
}
void