diff options
author | imp <imp@FreeBSD.org> | 2005-03-01 08:58:06 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-03-01 08:58:06 +0000 |
commit | 6ca1ed35db7b9298655e2f956409b1b7bc9efbe0 (patch) | |
tree | a34360b3a438a6bdc8d086e0c722c1abea55e974 /sys/dev/sr | |
parent | cccc27e99ac4bc26fac1df23afdfe1a15238677f (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/dev/sr/if_sr_pci.c | 4 |
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; |