diff options
-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)) |