diff options
author | msmith <msmith@FreeBSD.org> | 2000-06-23 08:19:50 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2000-06-23 08:19:50 +0000 |
commit | b8a70f2c5857e842cb5dadd869ee5fa4a4082560 (patch) | |
tree | 7104ae68ee680ceb0e43c319187fb1d11ec988c3 /sys/amd64/isa | |
parent | b4dffffe2d78dbce579342d3b7bfb7f7b9561529 (diff) | |
download | FreeBSD-src-b8a70f2c5857e842cb5dadd869ee5fa4a4082560.zip FreeBSD-src-b8a70f2c5857e842cb5dadd869ee5fa4a4082560.tar.gz |
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.
Diffstat (limited to 'sys/amd64/isa')
-rw-r--r-- | sys/amd64/isa/npx.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/amd64/isa/npx.c b/sys/amd64/isa/npx.c index 20cd19e..637853e 100644 --- a/sys/amd64/isa/npx.c +++ b/sys/amd64/isa/npx.c @@ -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 |