diff options
author | sos <sos@FreeBSD.org> | 2003-01-09 14:00:07 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2003-01-09 14:00:07 +0000 |
commit | ed4546ea71d76db58c99a412136aeffb3a503a5d (patch) | |
tree | 901fb15a7be81c250ea14d4462e4afec5d10d8b2 /sys | |
parent | 2a1a3d1ac266922dd2a90ebc2c49d396916c57e3 (diff) | |
download | FreeBSD-src-ed4546ea71d76db58c99a412136aeffb3a503a5d.zip FreeBSD-src-ed4546ea71d76db58c99a412136aeffb3a503a5d.tar.gz |
Dont probe PnP devices.
Submitted by: Takahashi Yoshihiro <nyan@FreeBSD.org>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ata/ata-cbus.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/ata/ata-cbus.c b/sys/dev/ata/ata-cbus.c index 6a2b0a4..854b55e 100644 --- a/sys/dev/ata/ata-cbus.c +++ b/sys/dev/ata/ata-cbus.c @@ -60,6 +60,10 @@ ata_cbus_probe(device_t dev) int rid; u_long tmp; + /* dont probe PnP devices */ + if (isa_get_vendorid(dev)) + return (ENXIO); + /* allocate the ioport range */ rid = ATA_IOADDR_RID; io = isa_alloc_resourcev(dev, SYS_RES_IOPORT, &rid, ata_pc98_ports, |