Make the PnP 'slopsucker' quiet in the !bootverbose case - the real NPX

probe happens much earlier, and may come to very different conclusions
about the system's NPX setup.
This commit is contained in:
Mike Smith 2000-06-23 08:19:50 +00:00
parent 49b66ff559
commit bb9c06c1ce
3 changed files with 15 additions and 3 deletions

View File

@ -939,7 +939,11 @@ static struct isa_pnp_id npxisa_ids[] = {
static int
npxisa_probe(device_t dev)
{
return (ISA_PNP_PROBE(device_get_parent(dev), dev, npxisa_ids));
int result;
if ((result = ISA_PNP_PROBE(device_get_parent(dev), dev, npxisa_ids)) <= 0) {
device_quiet(dev);
}
return(result);
}
static int

View File

@ -939,7 +939,11 @@ static struct isa_pnp_id npxisa_ids[] = {
static int
npxisa_probe(device_t dev)
{
return (ISA_PNP_PROBE(device_get_parent(dev), dev, npxisa_ids));
int result;
if ((result = ISA_PNP_PROBE(device_get_parent(dev), dev, npxisa_ids)) <= 0) {
device_quiet(dev);
}
return(result);
}
static int

View File

@ -939,7 +939,11 @@ static struct isa_pnp_id npxisa_ids[] = {
static int
npxisa_probe(device_t dev)
{
return (ISA_PNP_PROBE(device_get_parent(dev), dev, npxisa_ids));
int result;
if ((result = ISA_PNP_PROBE(device_get_parent(dev), dev, npxisa_ids)) <= 0) {
device_quiet(dev);
}
return(result);
}
static int