summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2000-01-08 00:40:44 +0000
committerwpaul <wpaul@FreeBSD.org>2000-01-08 00:40:44 +0000
commit385cf88354b5364aa43bd778ed0bf20b4bf1a0f6 (patch)
tree31061aeea67b5e4c3d8c757d1d8b7882c004c003 /sys/dev
parenta5d1c762146eab389d6175cbfb0f638afdcae470 (diff)
downloadFreeBSD-src-385cf88354b5364aa43bd778ed0bf20b4bf1a0f6.zip
FreeBSD-src-385cf88354b5364aa43bd778ed0bf20b4bf1a0f6.tar.gz
Leave the SOFS value (number of StartOfFrames to wait while filling
an URB before sending ZLP) set to the default. Choosing a bad value can apparently cause a lockup on some machines/controllers. Reported by: Doug Ambrisko
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/if_kue.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/usb/if_kue.c b/sys/dev/usb/if_kue.c
index 1512fbd..0167d9e 100644
--- a/sys/dev/usb/if_kue.c
+++ b/sys/dev/usb/if_kue.c
@@ -892,7 +892,13 @@ static void kue_init(xsc)
kue_setword(sc, KUE_CMD_SET_PKT_FILTER, sc->kue_rxfilt);
/* I'm not sure how to tune these. */
+#ifdef notdef
+ /*
+ * Leave this one alone for now; setting it
+ * wrong causes lockups on some machines/controllers.
+ */
kue_setword(sc, KUE_CMD_SET_SOFS, 1);
+#endif
kue_setword(sc, KUE_CMD_SET_URB_SIZE, 64);
/* Init TX ring. */
OpenPOWER on IntegriCloud