Deleted Added
full compact
1c1
< /* $FreeBSD: head/sys/dev/usb2/core/usb2_hub.c 187164 2009-01-13 19:01:35Z thompsa $ */
---
> /* $FreeBSD: head/sys/dev/usb2/core/usb2_hub.c 187170 2009-01-13 19:02:40Z thompsa $ */
1523,1524c1523,1528
< for (x = USB_ROOT_HUB_ADDR + 1;
< x != USB_MAX_DEVICES; x++) {
---
> for (x = USB_ROOT_HUB_ADDR + 1;; x++) {
> #if ((USB_ROOT_HUB_ADDR + 1) > USB_MIN_DEVICES)
> #error "Incorrect device limit."
> #endif
> if (x == bus->devices_max)
> break;
1567,1568c1571,1576
< for (x = USB_ROOT_HUB_ADDR + 1;
< x != USB_MAX_DEVICES; x++) {
---
> for (x = USB_ROOT_HUB_ADDR + 1;; x++) {
> #if ((USB_ROOT_HUB_ADDR + 1) > USB_MIN_DEVICES)
> #error "Incorrect device limit."
> #endif
> if (x == bus->devices_max)
> break;