diff options
| author | Justin T. Gibbs <gibbs@FreeBSD.org> | 2004-10-15 23:39:52 +0000 |
|---|---|---|
| committer | Justin T. Gibbs <gibbs@FreeBSD.org> | 2004-10-15 23:39:52 +0000 |
| commit | a1a3da9b3828be2be30447f1abdd0b9e0aa0c51d (patch) | |
| tree | 74d38e403131812d84303026311424cb1aa7a6cf /sys/dev | |
| parent | 1cef902abd26a1a47e0a6e8e73cf3d15c0df127a (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/aic7xxx/ahc_isa.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/aic7xxx/ahc_isa.c b/sys/dev/aic7xxx/ahc_isa.c index 2595096a33b3e..1515a68d60b96 100644 --- a/sys/dev/aic7xxx/ahc_isa.c +++ b/sys/dev/aic7xxx/ahc_isa.c @@ -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"); |
