summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
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