summaryrefslogtreecommitdiffstats
path: root/sys/amd64
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/amd64
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/amd64')
-rw-r--r--sys/amd64/amd64/fpu.c6
-rw-r--r--sys/amd64/isa/npx.c6
2 files changed, 10 insertions, 2 deletions
diff --git a/sys/amd64/amd64/fpu.c b/sys/amd64/amd64/fpu.c
index 20cd19e..637853e 100644
--- a/sys/amd64/amd64/fpu.c
+++ b/sys/amd64/amd64/fpu.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
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
OpenPOWER on IntegriCloud