diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-05-30 00:22:57 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-05-30 00:22:57 +0000 |
commit | b064d23a532b2149c827f886719da091c9d46db5 (patch) | |
tree | 850ed632800ebd9b53080b0dbbbb6afda22bcd1c /sys/dev/usb/usb_hub.c | |
parent | 36bf6c9b02de093f113d81dc2ba7c54d7ba93926 (diff) | |
download | FreeBSD-src-b064d23a532b2149c827f886719da091c9d46db5.zip FreeBSD-src-b064d23a532b2149c827f886719da091c9d46db5.tar.gz |
Revert the size_t part of the last commit for the moment, this blows up the
USB_ADD_BYTES macro.
Diffstat (limited to 'sys/dev/usb/usb_hub.c')
-rw-r--r-- | sys/dev/usb/usb_hub.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/usb_hub.c b/sys/dev/usb/usb_hub.c index 5de0469..f07b9ec 100644 --- a/sys/dev/usb/usb_hub.c +++ b/sys/dev/usb/usb_hub.c @@ -1058,9 +1058,9 @@ done: * The best Transaction Translation slot for an interrupt endpoint. *------------------------------------------------------------------------*/ static uint8_t -usb2_intr_find_best_slot(size_t *ptr, uint8_t start, uint8_t end) +usb2_intr_find_best_slot(usb_size_t *ptr, uint8_t start, uint8_t end) { - size_t max = 0 - 1; + usb_size_t max = 0 - 1; uint8_t x; uint8_t y; @@ -1558,7 +1558,7 @@ usb2_bus_powerd(struct usb_bus *bus) usb_ticks_t temp; usb_ticks_t limit; usb_ticks_t mintime; - size_t type_refs[5]; + usb_size_t type_refs[5]; uint8_t x; uint8_t rem_wakeup; |