[haiku-bugs] [Haiku] #7449: Check for invalid Frame List Sizes and enable Asynchronous Park Capability

  • From: "gabriel.hartmann" <trac@xxxxxxxxxxxx>
  • Date: Sat, 16 Apr 2011 02:28:54 -0000

#7449: Check for invalid Frame List Sizes and enable Asynchronous Park 
Capability
------------------------------+------------------------------
 Reporter:  gabriel.hartmann  |        Owner:  mmlr
     Type:  bug               |       Status:  new
 Priority:  normal            |    Milestone:  R1
Component:  Drivers/USB       |      Version:  R1/Development
 Keywords:  EHCI              |   Blocked By:
 Blocking:                    |  Has a Patch:  0
 Platform:  All               |
------------------------------+------------------------------
 In src/add-ons/kernel/busses/usb/ehci.cpp beginning of EHCI::Start()

 * frameListSize was read but not checked against invalid values (see
 section 2.3.1 of the EHCI specification). The possible values are:
 00b = 1024 elements, 01b = 512 elements, 10b = 256 elements, 11b =
 Reserved

 * if the Asynchronous Park Capability bit in the EHCI_HCCPARAMS register
 is a one, enable EHCI_USBCMD_ASPME and set the count to 3.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7449>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: