HomeFreeBSD

- Move the remainder of host controller capability registers reading from

Description

  • Move the remainder of host controller capability registers reading from xhci_start_controller() to xhci_init(). These values don't change at run- time so there's no point of acquiring them on every USB_HW_POWER_RESUME instead of only once during initialization. In r276717, reading the first couple of registers in question already had been moved as a prerequisite for the changes in that revision.
  • Identify ASMedia ASM1042A controllers.
  • Use NULL instead of 0 for pointers.

MFC after: 3 days

Details

Provenance
mariusAuthored on
Parents
rS285913: - Fix compilation after r285909 with USB_DEBUG defined.
Branches
Unknown
Tags
Unknown