diff options
| author | Warner Losh <imp@FreeBSD.org> | 2001-06-06 22:32:29 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2001-06-06 22:32:29 +0000 |
| commit | c29b4c13d08454f80c08f40243702f2f210bcda6 (patch) | |
| tree | 037326adeb2025c06c5b3d9d679d493836b421ec | |
| parent | 81930014ef2caa3b69ed663b695976aa4ee7b34d (diff) | |
Notes
| -rw-r--r-- | sys/dev/aic/aic_isa.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/aic/aic_isa.c b/sys/dev/aic/aic_isa.c index e35dcc984457..64dbafc0ad9a 100644 --- a/sys/dev/aic/aic_isa.c +++ b/sys/dev/aic/aic_isa.c @@ -57,6 +57,12 @@ static u_int aic_isa_ports[] = { 0x340, 0x140 }; #define AIC_ISA_NUMPORTS (sizeof(aic_isa_ports) / sizeof(aic_isa_ports[0])) #define AIC_ISA_PORTSIZE 0x20 +static struct isa_pnp_id aic_ids[] = { + { 0x15309004, "Adaptec AHA-1530P" }, + { 0x15209004, "Adaptec AHA-1520P" }, + { 0 } +}; + static int aic_isa_alloc_resources(device_t dev) { @@ -124,7 +130,7 @@ aic_isa_probe(device_t dev) u_int port, *ports; u_int8_t porta; - if (isa_get_vendorid(dev)) + if (ISA_PNP_PROBE(device_get_parent(dev), dev, aic_ids) == ENXIO) return (ENXIO); port = isa_get_port(dev); |
