Skip probe attempts for ISA PnP devices.
Pointed out by: imp
This commit is contained in:
parent
6aefcaf60e
commit
3f3b293e16
@ -137,11 +137,15 @@ ahc_isa_probe(device_t dev)
|
||||
int error;
|
||||
int zero;
|
||||
|
||||
error = ENODEV;
|
||||
error = ENXIO;
|
||||
zero = 0;
|
||||
regs = NULL;
|
||||
irq = NULL;
|
||||
|
||||
/* Skip probes for ISA PnP devices */
|
||||
if (isa_get_logicalid(dev) != 0)
|
||||
return (error);
|
||||
|
||||
regs = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &zero, RF_ACTIVE);
|
||||
if (regs == NULL) {
|
||||
device_printf(dev, "No resources allocated.\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user