diff options
author | msmith <msmith@FreeBSD.org> | 2001-08-31 02:14:34 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2001-08-31 02:14:34 +0000 |
commit | c0b2e95ea25090d679388c5b9a4176adbd7cb480 (patch) | |
tree | de7458c2d2583c63f612aabf683ed9fdecf3adbe | |
parent | 68e6cd77c09bbd1aefe16fcb44c6f6d9f9167fc4 (diff) | |
download | FreeBSD-src-c0b2e95ea25090d679388c5b9a4176adbd7cb480.zip FreeBSD-src-c0b2e95ea25090d679388c5b9a4176adbd7cb480.tar.gz |
Revert previous "fix"; bus mice still have to be manually probed even in
the presence of PnP data.
Submitted by: yokota
-rw-r--r-- | sys/dev/mse/mse.c | 2 | ||||
-rw-r--r-- | sys/i386/isa/mse.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mse/mse.c b/sys/dev/mse/mse.c index 81b9bb4..073ea7a 100644 --- a/sys/dev/mse/mse.c +++ b/sys/dev/mse/mse.c @@ -288,7 +288,7 @@ mse_probe(dev) /* check PnP IDs */ error = ISA_PNP_PROBE(device_get_parent(dev), dev, mse_ids); - if (error != ENOENT) + if (error == ENXIO) return error; sc = device_get_softc(dev); diff --git a/sys/i386/isa/mse.c b/sys/i386/isa/mse.c index 81b9bb4..073ea7a 100644 --- a/sys/i386/isa/mse.c +++ b/sys/i386/isa/mse.c @@ -288,7 +288,7 @@ mse_probe(dev) /* check PnP IDs */ error = ISA_PNP_PROBE(device_get_parent(dev), dev, mse_ids); - if (error != ENOENT) + if (error == ENXIO) return error; sc = device_get_softc(dev); |