More BUS_PROBE_NOWILDCARD sweeping. Some devices here (if_ath_ahb and siba)

resist easy conversion since they implement a great deal of their attach
logic inside probe(). Some of this could be fixed by moving it to attach(),
but some requires something more subtle than BUS_PROBE_NOWILDCARD.
This commit is contained in:
nwhitehorn 2013-10-29 14:19:42 +00:00
parent 92a9e0e206
commit 3e9a158ce7
9 changed files with 9 additions and 9 deletions

View File

@ -431,7 +431,7 @@ acpi_probe(device_t dev)
device_set_desc(dev, acpi_desc);
return_VALUE (0);
return_VALUE (BUS_PROBE_NOWILDCARD);
}
static int

View File

@ -61,7 +61,7 @@ static int
cferes_probe(device_t dev)
{
return (0);
return (BUS_PROBE_NOWILDCARD);
}
static int

View File

@ -158,7 +158,7 @@ gxemul_disk_probe(device_t dev)
{
device_set_desc(dev, "GXemul test disk");
return (0);
return (BUS_PROBE_NOWILDCARD);
}
static void

View File

@ -125,7 +125,7 @@ gx_probe(device_t dev)
device_set_desc(dev, "GXemul test Ethernet");
return (0);
return (BUS_PROBE_NOWILDCARD);
}
static int

View File

@ -313,7 +313,7 @@ vmbus_probe(device_t dev) {
device_set_desc(dev, "Vmbus Devices");
return (0);
return (BUS_PROBE_NOWILDCARD);
}
/**

View File

@ -149,7 +149,7 @@ static int
rt_probe(device_t dev)
{
device_set_desc(dev, "Ralink RT305XF onChip Ethernet MAC");
return (0);
return (BUS_PROBE_NOWILDCARD);
}
/*

View File

@ -226,7 +226,7 @@ static int
xc_probe(device_t dev)
{
return (0);
return (BUS_PROBE_NOWILDCARD);
}
static int

View File

@ -441,7 +441,7 @@ xpcife_probe(device_t dev)
struct pcifront_device *pdev = (struct pcifront_device *)device_get_ivars(dev);
DPRINTF("xpcife probe (unit=%d)\n", pdev->unit);
#endif
return 0;
return (BUS_PROBE_NOWILDCARD);
}
/* Newbus xpcife device driver attach */

View File

@ -142,7 +142,7 @@ xentimer_probe(device_t dev)
"VCPUOPs interface unavailable\n");
#undef XTREQUIRES
device_set_desc(dev, "Xen PV Clock");
return (0);
return (BUS_PROBE_NOWILDCARD);
}
/*