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:
parent
a0b91aad67
commit
feeec74df7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=257341
@ -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
|
||||
|
@ -61,7 +61,7 @@ static int
|
||||
cferes_probe(device_t dev)
|
||||
{
|
||||
|
||||
return (0);
|
||||
return (BUS_PROBE_NOWILDCARD);
|
||||
}
|
||||
|
||||
static int
|
||||
|
@ -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
|
||||
|
@ -125,7 +125,7 @@ gx_probe(device_t dev)
|
||||
|
||||
device_set_desc(dev, "GXemul test Ethernet");
|
||||
|
||||
return (0);
|
||||
return (BUS_PROBE_NOWILDCARD);
|
||||
}
|
||||
|
||||
static int
|
||||
|
@ -313,7 +313,7 @@ vmbus_probe(device_t dev) {
|
||||
|
||||
device_set_desc(dev, "Vmbus Devices");
|
||||
|
||||
return (0);
|
||||
return (BUS_PROBE_NOWILDCARD);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -226,7 +226,7 @@ static int
|
||||
xc_probe(device_t dev)
|
||||
{
|
||||
|
||||
return (0);
|
||||
return (BUS_PROBE_NOWILDCARD);
|
||||
}
|
||||
|
||||
static int
|
||||
|
@ -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 */
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user