diff options
author | Sawan Chandak <sawan.chandak@qlogic.com> | 2015-08-04 13:38:03 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-08-26 20:50:16 -0400 |
commit | 2b48992f656e109b9d7357cedc0406b50ec82c22 (patch) | |
tree | f22259bce892c2d2b64d05f84324162037362b56 /drivers/scsi/qla2xxx/qla_os.c | |
parent | a1d0285ecb61800a9e6808f716b880eae95f14bc (diff) |
qla2xxx: Add pci device id 0x2261.
Signed-off-by: Sawan Chandak <sawan.chandak@qlogic.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 0d0ff33d010f..913a72506748 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -2208,6 +2208,13 @@ qla2x00_set_isp_flags(struct qla_hw_data *ha) | |||
2208 | ha->device_type |= DT_IIDMA; | 2208 | ha->device_type |= DT_IIDMA; |
2209 | ha->fw_srisc_address = RISC_START_ADDRESS_2400; | 2209 | ha->fw_srisc_address = RISC_START_ADDRESS_2400; |
2210 | break; | 2210 | break; |
2211 | case PCI_DEVICE_ID_QLOGIC_ISP2261: | ||
2212 | ha->device_type |= DT_ISP2261; | ||
2213 | ha->device_type |= DT_ZIO_SUPPORTED; | ||
2214 | ha->device_type |= DT_FWI2; | ||
2215 | ha->device_type |= DT_IIDMA; | ||
2216 | ha->fw_srisc_address = RISC_START_ADDRESS_2400; | ||
2217 | break; | ||
2211 | } | 2218 | } |
2212 | 2219 | ||
2213 | if (IS_QLA82XX(ha)) | 2220 | if (IS_QLA82XX(ha)) |
@@ -2285,7 +2292,8 @@ qla2x00_probe_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
2285 | pdev->device == PCI_DEVICE_ID_QLOGIC_ISPF001 || | 2292 | pdev->device == PCI_DEVICE_ID_QLOGIC_ISPF001 || |
2286 | pdev->device == PCI_DEVICE_ID_QLOGIC_ISP8044 || | 2293 | pdev->device == PCI_DEVICE_ID_QLOGIC_ISP8044 || |
2287 | pdev->device == PCI_DEVICE_ID_QLOGIC_ISP2071 || | 2294 | pdev->device == PCI_DEVICE_ID_QLOGIC_ISP2071 || |
2288 | pdev->device == PCI_DEVICE_ID_QLOGIC_ISP2271) { | 2295 | pdev->device == PCI_DEVICE_ID_QLOGIC_ISP2271 || |
2296 | pdev->device == PCI_DEVICE_ID_QLOGIC_ISP2261) { | ||
2289 | bars = pci_select_bars(pdev, IORESOURCE_MEM); | 2297 | bars = pci_select_bars(pdev, IORESOURCE_MEM); |
2290 | mem_only = 1; | 2298 | mem_only = 1; |
2291 | ql_dbg_pci(ql_dbg_init, pdev, 0x0007, | 2299 | ql_dbg_pci(ql_dbg_init, pdev, 0x0007, |
@@ -5697,6 +5705,7 @@ static struct pci_device_id qla2xxx_pci_tbl[] = { | |||
5697 | { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP8044) }, | 5705 | { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP8044) }, |
5698 | { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2071) }, | 5706 | { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2071) }, |
5699 | { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2271) }, | 5707 | { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2271) }, |
5708 | { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2261) }, | ||
5700 | { 0 }, | 5709 | { 0 }, |
5701 | }; | 5710 | }; |
5702 | MODULE_DEVICE_TABLE(pci, qla2xxx_pci_tbl); | 5711 | MODULE_DEVICE_TABLE(pci, qla2xxx_pci_tbl); |