diff options
| author | Jonathan Lemon <jlemon@FreeBSD.org> | 2000-12-01 15:26:11 +0000 |
|---|---|---|
| committer | Jonathan Lemon <jlemon@FreeBSD.org> | 2000-12-01 15:26:11 +0000 |
| commit | 280a27d26737b0a4546ddd0f3b315de4179b3ab3 (patch) | |
| tree | c4f7d274e633d9fc85a629064e9b577c7bf21305 /sys/dev | |
| parent | a3a04c47874a7d70d6fa8613e9b99878fc9f84eb (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ida/ida_pci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ida/ida_pci.c b/sys/dev/ida/ida_pci.c index c95db703108c..839fbbe7e457 100644 --- a/sys/dev/ida/ida_pci.c +++ b/sys/dev/ida/ida_pci.c @@ -147,6 +147,7 @@ static struct ida_board board_id[] = { { 0x40340E11, "Compaq Smart Array 221 controller", &ida_v3_access }, { 0x40400E11, "Compaq Integrated Array controller", &ida_v4_access }, + { 0x40480E11, "Compaq RAID LC2 controller", &ida_v4_access }, { 0x40500E11, "Compaq Smart Array 4200 controller", &ida_v4_access }, { 0x40510E11, "Compaq Smart Array 4250ES controller", &ida_v4_access }, { 0x40580E11, "Compaq Smart Array 431 controller", &ida_v4_access }, @@ -210,6 +211,7 @@ static int ida_pci_attach(device_t dev) { struct ida_board *board = ida_pci_match(dev); + u_int32_t id = pci_get_devid(dev); struct ida_softc *ida; u_int command; int error, rid; @@ -230,7 +232,7 @@ ida_pci_attach(device_t dev) ida->regs_res_type = SYS_RES_MEMORY; ida->regs_res_id = IDA_PCI_MEMADDR; - if (board->board == IDA_DEVICEID_DEC_SMART) + if (id == IDA_DEVICEID_DEC_SMART) ida->regs_res_id = PCIR_MAPS; ida->regs = bus_alloc_resource(dev, ida->regs_res_type, |
