summaryrefslogtreecommitdiffstats
path: root/sys/pci/amdpm.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-02-24 21:32:56 +0000
committerimp <imp@FreeBSD.org>2005-02-24 21:32:56 +0000
commitca4a8cf38604bd81541474c8adaffbed30ede944 (patch)
treef959f312c2878ebd7618b3ed92dc0a662e4f2f65 /sys/pci/amdpm.c
parent42a55e2441a9e3211e4e3181400b2057c9b5d206 (diff)
downloadFreeBSD-src-ca4a8cf38604bd81541474c8adaffbed30ede944.zip
FreeBSD-src-ca4a8cf38604bd81541474c8adaffbed30ede944.tar.gz
Return BUS_PROBE_DEFAULT instead of 0.
Diffstat (limited to 'sys/pci/amdpm.c')
-rw-r--r--sys/pci/amdpm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/amdpm.c b/sys/pci/amdpm.c
index 5333e67..22ca103 100644
--- a/sys/pci/amdpm.c
+++ b/sys/pci/amdpm.c
@@ -163,7 +163,7 @@ amdpm_probe(device_t dev)
base &= 0xff00;
bus_set_resource(dev, SYS_RES_IOPORT, AMDPCI_PMBASE,
base+0xe0, 32);
- return (0);
+ return (BUS_PROBE_DEFAULT);
}
if ((vid == AMDPM_VENDORID_NVIDIA) &&
@@ -179,7 +179,7 @@ amdpm_probe(device_t dev)
bus_set_resource(dev, SYS_RES_IOPORT, NFPCI_PMBASE,
base, 32);
- return (0);
+ return (BUS_PROBE_DEFAULT);
}
return ENXIO;
OpenPOWER on IntegriCloud