diff options
| author | Marius Strobl <marius@FreeBSD.org> | 2007-01-08 01:08:24 +0000 |
|---|---|---|
| committer | Marius Strobl <marius@FreeBSD.org> | 2007-01-08 01:08:24 +0000 |
| commit | 0975feff68d47b3dd735e568d29fa0501e7e497f (patch) | |
| tree | c3da10d6ba10639e388abf574fd71fc90a949b5d | |
| parent | 303cb7331b01f7e920180034b1a62b931c374072 (diff) | |
Notes
| -rw-r--r-- | sys/sparc64/pci/ofw_pcibus.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sparc64/pci/ofw_pcibus.c b/sys/sparc64/pci/ofw_pcibus.c index 6454ee33a3e7..d5293e1ed38d 100644 --- a/sys/sparc64/pci/ofw_pcibus.c +++ b/sys/sparc64/pci/ofw_pcibus.c @@ -197,6 +197,8 @@ ofw_pcibus_attach(device_t dev) continue; slot = OFW_PCI_PHYS_HI_DEVICE(pcir.phys_hi); func = OFW_PCI_PHYS_HI_FUNCTION(pcir.phys_hi); + if (pci_find_bsf(busno, slot, func) != NULL) + continue; ofw_pcibus_setup_device(pcib, busno, slot, func); dinfo = (struct ofw_pcibus_devinfo *)pci_read_device(pcib, busno, slot, func, sizeof(*dinfo)); |
