summaryrefslogtreecommitdiffstats
path: root/sys/dev/stg
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/stg
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/stg')
-rw-r--r--sys/dev/stg/tmc18c30_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/stg/tmc18c30_pci.c b/sys/dev/stg/tmc18c30_pci.c
index 8f8b24e..cda2ed7 100644
--- a/sys/dev/stg/tmc18c30_pci.c
+++ b/sys/dev/stg/tmc18c30_pci.c
@@ -82,9 +82,9 @@ stg_pci_probe(device_t dev)
++stg;
if (stg->desc) {
device_set_desc(dev, stg->desc);
- return 0;
+ return (BUS_PROBE_DEFAULT);
}
- return(ENXIO);
+ return (ENXIO);
}
static int
OpenPOWER on IntegriCloud