diff options
author | jhb <jhb@FreeBSD.org> | 2016-04-27 17:49:42 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2016-04-27 17:49:42 +0000 |
commit | 9e4bb0297ca054e482d94668c3aa02b479b223bd (patch) | |
tree | db7a570c9f5ca34e64097390858f25304cf3fd08 /sys/sparc64/pci | |
parent | 4a26c9bbdf73e90e480ac36d601cd327f8cf76f0 (diff) | |
download | FreeBSD-src-9e4bb0297ca054e482d94668c3aa02b479b223bd.zip FreeBSD-src-9e4bb0297ca054e482d94668c3aa02b479b223bd.tar.gz |
Add a bus_null_rescan() method that always fails with an error.
Use this in place of kobj_error_method to disable BUS_RESCAN() on
PCI drivers that do not use the "standard" scanning algorithm.
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 2fa289f..51d8956 100644 --- a/sys/sparc64/pci/ofw_pcibus.c +++ b/sys/sparc64/pci/ofw_pcibus.c @@ -81,7 +81,7 @@ static device_method_t ofw_pcibus_methods[] = { /* Bus interface */ DEVMETHOD(bus_child_deleted, ofw_pcibus_child_deleted), DEVMETHOD(bus_child_pnpinfo_str, ofw_pcibus_pnpinfo_str), - DEVMETHOD(bus_rescan, kobj_error_method), + DEVMETHOD(bus_rescan, bus_null_rescan), /* PCI interface */ DEVMETHOD(pci_alloc_devinfo, ofw_pcibus_alloc_devinfo), |