1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00
freebsd/sys/i386/pci
John Baldwin 21e25fa607 Replace an outb() during the test for configuration mechanism with a
DELAY(1) instead.  After wading through old commit logs, I found that the
outb() was added not as part of the test but as an intentional delay. In
fact, according to Shanley's PCI book, the configuration 1 data and address
ports should only be accessed using aligned 32-bit accesses (i.e. inl()
and outl()).  Thus, using outb() to just the last byte of the port violates
the PCI spec it would seem.  On at least one box doing so broke the probe
for PCI, whereas changing it to a DELAY(1) fixed the probe.

Reported by:	Sean Welch <welchsm@earthlink.net>
MFC after:	1 week
2003-12-31 16:56:32 +00:00
..
pci_bus.c Lower the priority of the legacy host to pci bridge driver so that other 2003-10-31 21:00:37 +00:00
pci_cfgreg.c Replace an outb() during the test for configuration mechanism with a 2003-12-31 16:56:32 +00:00
pci_pir.c Replace an outb() during the test for configuration mechanism with a 2003-12-31 16:56:32 +00:00