OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Christopher Pascoe (pascoecvs.openbsd.org)
Date: Sun Mar 18 2007 - 01:08:24 CDT


CVSROOT: /cvs
Module name: src
Changes by: pascoecvs.openbsd.org 2007/03/18 00:08:24

Modified files:
        sys/dev/pci : ohci_pci.c uhci_pci.c
        sys/dev/usb : ohci.c

Log message:
Perform legacy emulation handover for USB1 companion controllers immediately
but defer the remainder of their initialisation until after the other devices
on their PCI bus have attached. This ensures that any USB2 controller has also
completed its initialisation before we start to initialise the USB1 parts.

This minimises the chance that a nasty SMM implementation will trash the USB1
controller's config when it performs legacy emulation handover of the USB2 part.