diff options
author | msmith <msmith@FreeBSD.org> | 2001-08-30 09:16:53 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2001-08-30 09:16:53 +0000 |
commit | 67f0d41957392f0f9db82e773f5179f1068c2faa (patch) | |
tree | b9805e318590aac961925e304165052c10c2bd2b /sys/dev/mse/mse.c | |
parent | 4b0205f9914313437a3afe43d9d7a25f7f624cd5 (diff) | |
download | FreeBSD-src-67f0d41957392f0f9db82e773f5179f1068c2faa.zip FreeBSD-src-67f0d41957392f0f9db82e773f5179f1068c2faa.tar.gz |
Correct usage of ISA_PNP_PROBE
Diffstat (limited to 'sys/dev/mse/mse.c')
-rw-r--r-- | sys/dev/mse/mse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mse/mse.c b/sys/dev/mse/mse.c index 7d54682..81b9bb4 100644 --- a/sys/dev/mse/mse.c +++ b/sys/dev/mse/mse.c @@ -288,8 +288,8 @@ mse_probe(dev) /* check PnP IDs */ error = ISA_PNP_PROBE(device_get_parent(dev), dev, mse_ids); - if (error == ENXIO) - return ENXIO; + if (error != ENOENT) + return error; sc = device_get_softc(dev); rid = 0; |