summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2004-10-31 10:29:46 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2004-10-31 10:29:46 +0000
commitb6df28ae4735bb0abff7d6e1fd3791778a2f9cf7 (patch)
treec264c68999d235738ca46b654b6cb70e65f290bf /sys
parent4091318827d0d2d680379d74947bf5ae73c24821 (diff)
from netbsd: ehci.c revision 1.84
Only delay interrupt my 2 miucroframes instead of 8. This improves Ethernet performance.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/ehci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c
index 520342f2a9d..4279581c0cd 100644
--- a/sys/dev/usb/ehci.c
+++ b/sys/dev/usb/ehci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ehci.c,v 1.31 2004/10/31 10:24:16 dlg Exp $ */
+/* $OpenBSD: ehci.c,v 1.32 2004/10/31 10:29:45 dlg Exp $ */
/* $NetBSD: ehci.c,v 1.66 2004/06/30 03:11:56 mycroft Exp $ */
/*
@@ -497,7 +497,7 @@ ehci_init(ehci_softc_t *sc)
/* Turn on controller */
EOWRITE4(sc, EHCI_USBCMD,
- EHCI_CMD_ITC_8 | /* 8 microframes */
+ EHCI_CMD_ITC_2 | /* 8 microframes */
(EOREAD4(sc, EHCI_USBCMD) & EHCI_CMD_FLS_M) |
EHCI_CMD_ASE |
EHCI_CMD_PSE |