summaryrefslogtreecommitdiffstats
path: root/sys/pci/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/pci.c')
-rw-r--r--sys/pci/pci.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/pci/pci.c b/sys/pci/pci.c
index 4b40b43..9f2b0e0 100644
--- a/sys/pci/pci.c
+++ b/sys/pci/pci.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: pci.c,v 1.41 1996/01/23 21:47:16 se Exp $
+** $Id: pci.c,v 1.42 1996/01/25 18:31:58 se Exp $
**
** General subroutines for the PCI bus.
** pci_configure ()
@@ -429,6 +429,13 @@ pci_bus_config (void)
continue;
real_device:
+ /*
+ * Ack. The Triton PIIX doesn't correctly set
+ * the multifunction bit. Fake it.
+ */
+ if (type == 0x122e8086) {
+ maxfunc = 1;
+ }
if (func == 0 && (pcibus->pb_read (tag, PCI_HEADER_MISC)
& PCI_HEADER_MULTIFUNCTION)) {
OpenPOWER on IntegriCloud