summaryrefslogtreecommitdiffstats
path: root/sys/dev/hatm/if_hatm.c
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/hatm/if_hatm.c
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/hatm/if_hatm.c')
-rw-r--r--sys/dev/hatm/if_hatm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hatm/if_hatm.c b/sys/dev/hatm/if_hatm.c
index cf5b182..e1f9128 100644
--- a/sys/dev/hatm/if_hatm.c
+++ b/sys/dev/hatm/if_hatm.c
@@ -175,7 +175,7 @@ hatm_probe(device_t dev)
if (pci_get_vendor(dev) == hatm_devs[i].vid &&
pci_get_device(dev) == hatm_devs[i].did) {
device_set_desc(dev, hatm_devs[i].name);
- return (0);
+ return (BUS_PROBE_DEFAULT);
}
return (ENXIO);
}
OpenPOWER on IntegriCloud