summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/npx.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2000-06-23 08:19:50 +0000
committermsmith <msmith@FreeBSD.org>2000-06-23 08:19:50 +0000
commitb8a70f2c5857e842cb5dadd869ee5fa4a4082560 (patch)
tree7104ae68ee680ceb0e43c319187fb1d11ec988c3 /sys/i386/isa/npx.c
parentb4dffffe2d78dbce579342d3b7bfb7f7b9561529 (diff)
downloadFreeBSD-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/i386/isa/npx.c')
-rw-r--r--sys/i386/isa/npx.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/i386/isa/npx.c b/sys/i386/isa/npx.c
index 20cd19e..637853e 100644
--- a/sys/i386/isa/npx.c
+++ b/sys/i386/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
OpenPOWER on IntegriCloud