summaryrefslogtreecommitdiffstats
path: root/sys/dev/sr/if_sr_pci.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-03-01 08:58:06 +0000
committerimp <imp@FreeBSD.org>2005-03-01 08:58:06 +0000
commit6ca1ed35db7b9298655e2f956409b1b7bc9efbe0 (patch)
treea34360b3a438a6bdc8d086e0c722c1abea55e974 /sys/dev/sr/if_sr_pci.c
parentcccc27e99ac4bc26fac1df23afdfe1a15238677f (diff)
downloadFreeBSD-src-6ca1ed35db7b9298655e2f956409b1b7bc9efbe0.zip
FreeBSD-src-6ca1ed35db7b9298655e2f956409b1b7bc9efbe0.tar.gz
Use BUS_PROBE_DEFAULT in preference to 0 and BUS_PROBE_LOW_PRIORITY in
preference to some random negative number to allow other drivers a bite at the apple.
Diffstat (limited to 'sys/dev/sr/if_sr_pci.c')
-rw-r--r--sys/dev/sr/if_sr_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sr/if_sr_pci.c b/sys/dev/sr/if_sr_pci.c
index 3894761..dbb8a83 100644
--- a/sys/dev/sr/if_sr_pci.c
+++ b/sys/dev/sr/if_sr_pci.c
@@ -86,7 +86,7 @@ sr_pci_probe(device_t device)
switch(type) {
case 0x556812aa:
device_set_desc(device, "RISCom/N2pci");
- return (0);
+ return (BUS_PROBE_DEFAULT);
break;
case 0x55684778:
case 0x55684877:
@@ -94,7 +94,7 @@ sr_pci_probe(device_t device)
* XXX This can probably be removed sometime.
*/
device_set_desc(device, "RISCom/N2pci (old id)");
- return (0);
+ return (BUS_PROBE_DEFAULT);
break;
default:
break;
OpenPOWER on IntegriCloud