From a2e81fc93f4273fc79567fc60405bfcf7d210748 Mon Sep 17 00:00:00 2001 From: imp Date: Sat, 5 Mar 2005 18:30:12 +0000 Subject: Use BUS_PROBE_DEFAULT for pci probe return value --- sys/dev/cp/if_cp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/cp') 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; } -- cgit v1.1