summaryrefslogtreecommitdiffstats
path: root/sys/dev/cp
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-03-05 18:30:12 +0000
committerimp <imp@FreeBSD.org>2005-03-05 18:30:12 +0000
commita2e81fc93f4273fc79567fc60405bfcf7d210748 (patch)
treeafbc163f5f3767268b1fd7ccab0387eedffd6a2a /sys/dev/cp
parent5536442ca3f02a1d15b0694da7424ab1f803b2ae (diff)
downloadFreeBSD-src-a2e81fc93f4273fc79567fc60405bfcf7d210748.zip
FreeBSD-src-a2e81fc93f4273fc79567fc60405bfcf7d210748.tar.gz
Use BUS_PROBE_DEFAULT for pci probe return value
Diffstat (limited to 'sys/dev/cp')
-rw-r--r--sys/dev/cp/if_cp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cp/if_cp.c b/sys/dev/cp/if_cp.c
index 2422c6d..df8f7ce 100644
--- a/sys/dev/cp/if_cp.c
+++ b/sys/dev/cp/if_cp.c
@@ -224,7 +224,7 @@ static int cp_probe (device_t dev)
if ((pci_get_vendor (dev) == cp_vendor_id) &&
(pci_get_device (dev) == cp_device_id)) {
device_set_desc (dev, "Cronyx-Tau-PCI serial adapter");
- return 0;
+ return BUS_PROBE_DEFAULT;
}
return ENXIO;
}
OpenPOWER on IntegriCloud