usb: Bump max USB_MAX_PORTS to 255

* Seems more common to have > 16 USB ports on xHCI
  hubs (18 on my XPS 13 root hub)
* This fixes 'hub supports more ports than we do' error
* The FreeBSD USB driver works a lot like ours and
  sets the maximum USB ports on a hub to 255
* Doesn't solve #12885 but fixes one of the errors
This commit is contained in:
Alexander von Gluck IV
2016-10-27 12:43:54 -05:00
parent 134ed61451
commit 273c3bc497
@@ -16,7 +16,7 @@
#define USB_MAX_AREAS 8
#define USB_MAX_FRAGMENT_SIZE B_PAGE_SIZE * 96
#define USB_MAX_PORT_COUNT 16
#define USB_MAX_PORT_COUNT 255
#define USB_DELAY_BUS_RESET 100000
#define USB_DELAY_HUB_POWER_UP 200000