Print this page
MFV: illumos-gate@9a48f6c443e5968307491ba7cc134bbdd0328801
9806 ehci_take_control() can infinite loop due to PCI invalid reads
Reviewed by: Dan McDonald <danmcd@joyent.com>
Reviewed by: Jason King <jason.king@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Approved by: Richard Lowe <richlowe@richlowe.net>
Author: Robert Mustacchi <rm@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/usb/hcd/ehci/ehci.h
          +++ new/usr/src/uts/common/sys/usb/hcd/ehci/ehci.h
↓ open down ↓ 272 lines elided ↑ open up ↑
 273  273   * EHCI Extended Capability Registers
 274  274   *
 275  275   * Currently this register only specifies BIOS handoff information.
 276  276   */
 277  277  #define EHCI_EX_CAP_SPECIFICS           0xFFFF0000
 278  278  #define EHCI_EX_CAP_SPECIFICS_SHIFT     16
 279  279  #define EHCI_EX_CAP_NEXT_PTR            0x0000FF00
 280  280  #define EHCI_EX_CAP_NEXT_PTR_SHIFT      8
 281  281  #define EHCI_EX_CAP_ID                  0x000000FF
 282  282  #define EHCI_EX_CAP_ID_SHIFT            0
      283 +#define EHCI_EX_CAP_ID_RESERVED         0
 283  284  #define EHCI_EX_CAP_ID_BIOS_HANDOFF     1
 284  285  
 285  286  #define EHCI_LEGSUP_OS_OWNED_SEM        0x01000000
 286  287  #define EHCI_LEGSUP_BIOS_OWNED_SEM      0x00010000
 287  288  
 288  289  
 289  290  /*
 290  291   * Host Controller Periodic Frame List Area
 291  292   *
 292  293   * The Host Controller Periodic Frame List Area is a 4K structre of system
↓ open down ↓ 469 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX