[haiku-bugs] Re: [Haiku] #12885: XHCI page fault under skylake

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Thu, 27 Oct 2016 16:33:28 -0000

#12885: XHCI page fault under skylake
--------------------------------+----------------------------
   Reporter:  kallisti5         |      Owner:  nobody
       Type:  bug               |     Status:  assigned
   Priority:  normal            |  Milestone:  Unscheduled
  Component:  Drivers/USB/XHCI  |    Version:  R1/Development
 Resolution:                    |   Keywords:  skylake
 Blocked By:                    |   Blocking:
Has a Patch:  0                 |   Platform:  All
--------------------------------+----------------------------

Comment (by kallisti5):

 For the "more ports than we support number" I've *finally* found a
 reference for a sane value. (The xHCI specs don't really mention this
 limit). Our USB driver unsurprisingly works a lot like FreeBSD's  They
 have a MAX_USB_PORTS define they use in their hub code to iterate over the
 hub ports... their limit is 255.

 https://github.com/freebsd/freebsd/blob/master/sys/dev/usb/usb_freebsd.h#L82

 Sounds like I can at least change that to something better with a little
 backing knowledge now.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12885#comment:13>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: