Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-9] src/sys/dev/pci



Module Name:    src
Committed By:   martin
Date:           Tue Oct 15 19:33:24 UTC 2019

Modified Files:
        src/sys/dev/pci [netbsd-9]: pci.c

Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #331):

        sys/dev/pci/pci.c: revision 1.155

The PCI Local Bus Specification says that we should probe devices by
reading PCI_ID_REG. pci_enumerate_bus was incorrectly reading PCI_BHLC_REG
first, which surprisingly has worked for the past 16 years. Unfortunately,
this undefined behavior does the wrong thing on Amazon's Annapurna Labs
PCIe host controller.


To generate a diff of this commit:
cvs rdiff -u -r1.154 -r1.154.4.1 src/sys/dev/pci/pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index