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:
Nathan Whitehorn 2013-10-29 14:19:42 +00:00
parent a0b91aad67
commit feeec74df7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=257341
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); device_set_desc(dev, acpi_desc);
return_VALUE (0); return_VALUE (BUS_PROBE_NOWILDCARD);
} }
static int static int

View File

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

View File

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

View File

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

View File

@ -313,7 +313,7 @@ vmbus_probe(device_t dev) {
device_set_desc(dev, "Vmbus Devices"); 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) rt_probe(device_t dev)
{ {
device_set_desc(dev, "Ralink RT305XF onChip Ethernet MAC"); 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) xc_probe(device_t dev)
{ {
return (0); return (BUS_PROBE_NOWILDCARD);
} }
static int static int

View File

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

View File

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