diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2010-02-14 12:16:32 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2010-02-14 12:16:32 -0500 |
commit | 8bbc79c435c896ad0107725fa77c7aeb860af625 (patch) | |
tree | b22717f1a6d5010771e30528d2b734e05d51dfb9 /src/usb-uhci.c | |
parent | 991eaff3f618d8018b2956b19bb47b0dff58a1d7 (diff) | |
download | seabios-8bbc79c435c896ad0107725fa77c7aeb860af625.tar.gz |
Add symbolic definitions for USB delays.
Diffstat (limited to 'src/usb-uhci.c')
-rw-r--r-- | src/usb-uhci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usb-uhci.c b/src/usb-uhci.c index 950ec6a3..b09b17af 100644 --- a/src/usb-uhci.c +++ b/src/usb-uhci.c @@ -106,10 +106,10 @@ check_ports(struct usb_s *cntl) outw(USBPORTSC_PR, cntl->uhci.iobase + USBPORTSC1); if (port2 & USBPORTSC_CCS) outw(USBPORTSC_PR, cntl->uhci.iobase + USBPORTSC2); - msleep(50); + msleep(USB_TIME_DRSTR); outw(0, cntl->uhci.iobase + USBPORTSC1); outw(0, cntl->uhci.iobase + USBPORTSC2); - msleep(10); + msleep(USB_TIME_RSTRCY); // Configure ports int totalcount = 0; |