From f7f47552ef6d43bc6969f4fec83af503c657d1ad Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Wed, 23 Mar 2005 18:16:26 +0000 Subject: [PATCH] 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 --- sys/sparc64/pci/ofw_pcibus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sparc64/pci/ofw_pcibus.c b/sys/sparc64/pci/ofw_pcibus.c index d78c44b064b..a9b9ad99581 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),