summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>2000-06-23 08:19:50 +0000
committerMike Smith <msmith@FreeBSD.org>2000-06-23 08:19:50 +0000
commitbb9c06c1ceaeeac79fb26acaa60d48d99da9d34e (patch)
tree63b4df2bdfca121e21a94bbaf77975adbbcd3327
parent49b66ff559954a09cd7aee41d233172b6f751704 (diff)
Notes
-rw-r--r--sys/amd64/amd64/fpu.c6
-rw-r--r--sys/amd64/isa/npx.c6
-rw-r--r--sys/i386/isa/npx.c6
3 files changed, 15 insertions, 3 deletions
diff --git a/sys/amd64/amd64/fpu.c b/sys/amd64/amd64/fpu.c
index 20cd19ee06e6..637853e25264 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 20cd19ee06e6..637853e25264 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
diff --git a/sys/i386/isa/npx.c b/sys/i386/isa/npx.c
index 20cd19ee06e6..637853e25264 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