diff options
author | jmg <jmg@FreeBSD.org> | 2005-03-23 18:16:26 +0000 |
---|---|---|
committer | jmg <jmg@FreeBSD.org> | 2005-03-23 18:16:26 +0000 |
commit | 289671837a3fd31ccd3ce89532ecc34459d4c1e4 (patch) | |
tree | 41fe27f47cf065a5ceabdd1dcd8fafe6573d3bf3 /sys/sparc64/pci | |
parent | be61853d531f5f753edc4c414295a218532c365d (diff) | |
download | FreeBSD-src-289671837a3fd31ccd3ce89532ecc34459d4c1e4.zip FreeBSD-src-289671837a3fd31ccd3ce89532ecc34459d4c1e4.tar.gz |
fix kldloading of pci driver modules after boot on sparc64... since
we weren't using the pci module, we weren't restoring the pci state...
Submitted by: imp
MFC after: 5 days
Diffstat (limited to 'sys/sparc64/pci')
-rw-r--r-- | sys/sparc64/pci/ofw_pcibus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/pci/ofw_pcibus.c b/sys/sparc64/pci/ofw_pcibus.c index d78c44b..a9b9ad9 100644 --- a/sys/sparc64/pci/ofw_pcibus.c +++ b/sys/sparc64/pci/ofw_pcibus.c @@ -83,7 +83,7 @@ static device_method_t ofw_pcibus_methods[] = { DEVMETHOD(bus_probe_nomatch, pci_probe_nomatch), DEVMETHOD(bus_read_ivar, pci_read_ivar), DEVMETHOD(bus_write_ivar, pci_write_ivar), - DEVMETHOD(bus_driver_added, bus_generic_driver_added), + DEVMETHOD(bus_driver_added, pci_driver_added), DEVMETHOD(bus_setup_intr, bus_generic_setup_intr), DEVMETHOD(bus_teardown_intr, bus_generic_teardown_intr), |