diff options
author | imp <imp@FreeBSD.org> | 2005-03-05 18:10:49 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-03-05 18:10:49 +0000 |
commit | 01223e02a3b48d8df4d2b0f5544aeea3ddbf8108 (patch) | |
tree | 8a0f400e5e792e0f80e6277d64df1439693f9b62 /sys/dev/pccbb | |
parent | eaa0343ae5f6a8294c0c1dbe41e93b7b903419ad (diff) | |
download | FreeBSD-src-01223e02a3b48d8df4d2b0f5544aeea3ddbf8108.zip FreeBSD-src-01223e02a3b48d8df4d2b0f5544aeea3ddbf8108.tar.gz |
Use BUS_PROBE_DEFAULT for pci probe return value
Diffstat (limited to 'sys/dev/pccbb')
-rw-r--r-- | sys/dev/pccbb/pccbb_pci.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/dev/pccbb/pccbb_pci.c b/sys/dev/pccbb/pccbb_pci.c index b5e9c07..61c27f5 100644 --- a/sys/dev/pccbb/pccbb_pci.c +++ b/sys/dev/pccbb/pccbb_pci.c @@ -221,22 +221,19 @@ cbb_pci_probe(device_t brdev) */ if (cbb_chipset(pci_get_devid(brdev), &name) != CB_UNKNOWN) { device_set_desc(brdev, name); - return (0); + return (BUS_PROBE_DEFAULT); } /* * We do support generic CardBus bridges. All that we've seen * to date have progif 0 (the Yenta spec, and successors mandate - * this). We do not support PCI PCMCIA bridges (with one exception) - * with this driver since they generally are I/O mapped. Those - * are supported by the pcic driver. This should help us be more - * future proof. + * this). */ subclass = pci_get_subclass(brdev); progif = pci_get_progif(brdev); if (subclass == PCIS_BRIDGE_CARDBUS && progif == 0) { device_set_desc(brdev, "PCI-CardBus Bridge"); - return (0); + return (BUS_PROBE_DEFAULT); } return (ENXIO); } |