Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: The Source of All Evil <source@NetBSD.ORG>
List: source-changes
Date: 05/30/1998 23:10:02
cgd
Sat May 30 23:03:45 PDT 1998
Update of /cvsroot/src/sys/dev/pci
In directory nb00:/tmp/cvs-serv22513

Modified Files:
	files.pci 
Added Files:
	pci_quirks.c 
Log Message:
dd a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way.  The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)


cgd
Sat May 30 23:05:28 PDT 1998
Update of /cvsroot/src/sys/dev/pci
In directory nb00:/tmp/cvs-serv23059

Modified Files:
	pci.c 
Log Message:
use the new PCI 'quirks' mechanism to help determine the number
of functions on a given device.  Also, clean up the #if 0'd
major-debugging-spew code so that it's all one piece, so that
it's a bit prettier, and so that it prints out quirk information.


cgd
Sat May 30 23:08:00 PDT 1998
Update of /cvsroot/src/sys/dev/pci
In directory nb00:/tmp/cvs-serv23636

Modified Files:
	pcivar.h 
Log Message:
add a PCI 'quirks' mechanism, meant to be used as the mechanism
of last resort when trying to communicate information about
bogus behaviour of PCI devices to the MI autoconfiguration code.
In general, bogus behaviour should be handled by drivers, but there
are some types of bogons which can't be addressed that way.  The
only quirk currently defined is one which indicates that the device
is multi-function even though the device's header says otherwise.
(Mmm, Intel 82371FB PCI-to-ISA Bridge (PIIX); you'd think that at least
Intel would have gotten it right...)