Dont probe PnP devices.

Submitted by: Takahashi Yoshihiro <nyan@FreeBSD.org>
This commit is contained in:
Søren Schmidt 2003-01-09 14:00:07 +00:00
parent 2768d40bf1
commit 610e02649a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=109011

View File

@ -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,