diff options
author | andrew.vasquez@qlogic.com <andrew.vasquez@qlogic.com> | 2006-03-09 17:27:13 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-03-12 10:38:03 -0500 |
commit | 044cc6c8ec311c4ddeebfcc31c53dea282de70b7 (patch) | |
tree | 891078bdbf9c8673d2408215c80551dc4a015f6d /drivers/scsi/qla2xxx/qla_os.c | |
parent | ea5b6382fde00e0dbcd0de2e4aa2fd15705e5fc3 (diff) |
[SCSI] qla2xxx: Add ISP54xx support.
Chip is similar in form to our ISP24xx offering.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 757c4c43c453..131614751196 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -1183,11 +1183,11 @@ qla2x00_set_isp_flags(scsi_qla_host_t *ha) | |||
1183 | case PCI_DEVICE_ID_QLOGIC_ISP2432: | 1183 | case PCI_DEVICE_ID_QLOGIC_ISP2432: |
1184 | ha->device_type |= DT_ISP2432; | 1184 | ha->device_type |= DT_ISP2432; |
1185 | break; | 1185 | break; |
1186 | case PCI_DEVICE_ID_QLOGIC_ISP2512: | 1186 | case PCI_DEVICE_ID_QLOGIC_ISP5422: |
1187 | ha->device_type |= DT_ISP2512; | 1187 | ha->device_type |= DT_ISP5422; |
1188 | break; | 1188 | break; |
1189 | case PCI_DEVICE_ID_QLOGIC_ISP2522: | 1189 | case PCI_DEVICE_ID_QLOGIC_ISP5432: |
1190 | ha->device_type |= DT_ISP2522; | 1190 | ha->device_type |= DT_ISP5432; |
1191 | break; | 1191 | break; |
1192 | } | 1192 | } |
1193 | } | 1193 | } |
@@ -1433,7 +1433,7 @@ int qla2x00_probe_one(struct pci_dev *pdev, struct qla_board_info *brd_info) | |||
1433 | ha->gid_list_info_size = 6; | 1433 | ha->gid_list_info_size = 6; |
1434 | if (IS_QLA2322(ha) || IS_QLA6322(ha)) | 1434 | if (IS_QLA2322(ha) || IS_QLA6322(ha)) |
1435 | ha->optrom_size = OPTROM_SIZE_2322; | 1435 | ha->optrom_size = OPTROM_SIZE_2322; |
1436 | } else if (IS_QLA24XX(ha) || IS_QLA25XX(ha)) { | 1436 | } else if (IS_QLA24XX(ha) || IS_QLA54XX(ha)) { |
1437 | host->max_id = MAX_TARGETS_2200; | 1437 | host->max_id = MAX_TARGETS_2200; |
1438 | ha->mbx_count = MAILBOX_REGISTER_COUNT; | 1438 | ha->mbx_count = MAILBOX_REGISTER_COUNT; |
1439 | ha->request_q_length = REQUEST_ENTRY_CNT_24XX; | 1439 | ha->request_q_length = REQUEST_ENTRY_CNT_24XX; |
@@ -1559,7 +1559,7 @@ int qla2x00_probe_one(struct pci_dev *pdev, struct qla_board_info *brd_info) | |||
1559 | 1559 | ||
1560 | spin_lock_irqsave(&ha->hardware_lock, flags); | 1560 | spin_lock_irqsave(&ha->hardware_lock, flags); |
1561 | reg = ha->iobase; | 1561 | reg = ha->iobase; |
1562 | if (IS_QLA24XX(ha) || IS_QLA25XX(ha)) { | 1562 | if (IS_QLA24XX(ha) || IS_QLA54XX(ha)) { |
1563 | WRT_REG_DWORD(®->isp24.hccr, HCCRX_CLR_HOST_INT); | 1563 | WRT_REG_DWORD(®->isp24.hccr, HCCRX_CLR_HOST_INT); |
1564 | WRT_REG_DWORD(®->isp24.hccr, HCCRX_CLR_RISC_INT); | 1564 | WRT_REG_DWORD(®->isp24.hccr, HCCRX_CLR_RISC_INT); |
1565 | } else { | 1565 | } else { |
@@ -2631,7 +2631,7 @@ qla2x00_request_firmware(scsi_qla_host_t *ha) | |||
2631 | blob = &qla_fw_blobs[FW_ISP2322]; | 2631 | blob = &qla_fw_blobs[FW_ISP2322]; |
2632 | } else if (IS_QLA6312(ha) || IS_QLA6322(ha)) { | 2632 | } else if (IS_QLA6312(ha) || IS_QLA6322(ha)) { |
2633 | blob = &qla_fw_blobs[FW_ISP63XX]; | 2633 | blob = &qla_fw_blobs[FW_ISP63XX]; |
2634 | } else if (IS_QLA24XX(ha)) { | 2634 | } else if (IS_QLA24XX(ha) || IS_QLA54XX(ha)) { |
2635 | blob = &qla_fw_blobs[FW_ISP24XX]; | 2635 | blob = &qla_fw_blobs[FW_ISP24XX]; |
2636 | } | 2636 | } |
2637 | 2637 | ||
@@ -2687,6 +2687,10 @@ static struct pci_device_id qla2xxx_pci_tbl[] = { | |||
2687 | PCI_ANY_ID, PCI_ANY_ID, }, | 2687 | PCI_ANY_ID, PCI_ANY_ID, }, |
2688 | { PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2432, | 2688 | { PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2432, |
2689 | PCI_ANY_ID, PCI_ANY_ID, }, | 2689 | PCI_ANY_ID, PCI_ANY_ID, }, |
2690 | { PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP5422, | ||
2691 | PCI_ANY_ID, PCI_ANY_ID, }, | ||
2692 | { PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP5432, | ||
2693 | PCI_ANY_ID, PCI_ANY_ID, }, | ||
2690 | { 0 }, | 2694 | { 0 }, |
2691 | }; | 2695 | }; |
2692 | MODULE_DEVICE_TABLE(pci, qla2xxx_pci_tbl); | 2696 | MODULE_DEVICE_TABLE(pci, qla2xxx_pci_tbl); |