Deleted Added
full compact
1c1
< /* $FreeBSD: head/sys/dev/usb/usb_parse.c 246122 2013-01-30 15:26:04Z hselasky $ */
---
> /* $FreeBSD: head/sys/dev/usb/usb_parse.c 250204 2013-05-03 09:23:06Z hselasky $ */
51a52,56
>
> #define USB_DEBUG_VAR usb_debug
>
> #include <dev/usb/usb_core.h>
> #include <dev/usb/usb_debug.h>
145c150
< /* first time */
---
> /* first time or zero descriptors */
153a159,166
> #if (USB_IFACE_MAX <= 0)
> #error "USB_IFACE_MAX must be defined greater than zero"
> #endif
> /* check for too many interfaces */
> if (ps->iface_index >= USB_IFACE_MAX) {
> DPRINTF("Interface limit reached\n");
> id = NULL;
> }