summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2000-04-08 17:23:46 +0000
committerimp <imp@FreeBSD.org>2000-04-08 17:23:46 +0000
commitb07aa508a2e10d93fc7bb88a7c9ab25c190860e1 (patch)
tree3c08d980e34c9551e7e360216dfa6f58546cbd8e /sys
parent236c51d75812c8d1a62c2924ebedc79a2a6e3ce3 (diff)
downloadFreeBSD-src-b07aa508a2e10d93fc7bb88a7c9ab25c190860e1.zip
FreeBSD-src-b07aa508a2e10d93fc7bb88a7c9ab25c190860e1.tar.gz
Re-enable probe for isa and correct the plug and play issue that
caused this device to be disabled. It will no longer claim all devices with PNPBIOS enabled.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/sn/if_sn_isa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sn/if_sn_isa.c b/sys/dev/sn/if_sn_isa.c
index 1ff9de4..ab34a23 100644
--- a/sys/dev/sn/if_sn_isa.c
+++ b/sys/dev/sn/if_sn_isa.c
@@ -60,10 +60,10 @@ static int sn_isa_attach (device_t);
static int
sn_isa_probe (device_t dev)
{
-#if 0
+ if (isa_get_logicalid(dev)) /* skip PnP probes */
+ return (ENXIO);
if (sn_probe(dev, 0) != 0)
return (0);
-#endif
return (ENXIO);
}
OpenPOWER on IntegriCloud