diff options
author | n_hibma <n_hibma@FreeBSD.org> | 2000-01-29 11:50:44 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 2000-01-29 11:50:44 +0000 |
commit | 720b7903cb0b373746a25167dde6b5b31a967d2e (patch) | |
tree | 4c687ab45485c151a6c2742778590c3c6ebe7ee9 /sys/dev/usb/ohci.c | |
parent | 6ef0117870937300d348b9e1656da31c785d4811 (diff) | |
download | FreeBSD-src-720b7903cb0b373746a25167dde6b5b31a967d2e.zip FreeBSD-src-720b7903cb0b373746a25167dde6b5b31a967d2e.tar.gz |
Tripmine for bad hardware.
Diffstat (limited to 'sys/dev/usb/ohci.c')
-rw-r--r-- | sys/dev/usb/ohci.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c index 6e11dfe..2bc4746 100644 --- a/sys/dev/usb/ohci.c +++ b/sys/dev/usb/ohci.c @@ -1555,6 +1555,10 @@ ohci_hash_find_td(sc, a) int h = HASH(a); ohci_soft_td_t *std; + KASSERT(a&LE(TAILMASK) == 0, ("%s: 0x%b has lower bits set\n", + USBDEVNAME(sc->sc_bus.bdev), + (int) a, "\20\1HALT\2TOGGLE")); + for (std = LIST_FIRST(&sc->sc_hash_tds[h]); std != NULL; std = LIST_NEXT(std, hnext)) |