Dont probe PnP devices.
Submitted by: Takahashi Yoshihiro <nyan@FreeBSD.org>
This commit is contained in:
parent
2768d40bf1
commit
610e02649a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=109011
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user