|
|
7dabf7 |
--- a/src/qla_os.c
|
|
|
7dabf7 |
+++ b/src/qla_os.c
|
|
|
7dabf7 |
@@ -2549,6 +2549,73 @@
|
|
|
7dabf7 |
{
|
|
|
7dabf7 |
ha->device_type = DT_EXTENDED_IDS;
|
|
|
7dabf7 |
switch (ha->pdev->device) {
|
|
|
7dabf7 |
+ case PCI_DEVICE_ID_QLOGIC_ISP2100:
|
|
|
7dabf7 |
+ ha->isp_type |= DT_ISP2100;
|
|
|
7dabf7 |
+ ha->device_type &= ~DT_EXTENDED_IDS;
|
|
|
7dabf7 |
+ ha->fw_srisc_address = RISC_START_ADDRESS_2100;
|
|
|
7dabf7 |
+ break;
|
|
|
7dabf7 |
+ case PCI_DEVICE_ID_QLOGIC_ISP2200:
|
|
|
7dabf7 |
+ ha->isp_type |= DT_ISP2200;
|
|
|
7dabf7 |
+ ha->device_type &= ~DT_EXTENDED_IDS;
|
|
|
7dabf7 |
+ ha->fw_srisc_address = RISC_START_ADDRESS_2100;
|
|
|
7dabf7 |
+ break;
|
|
|
7dabf7 |
+ case PCI_DEVICE_ID_QLOGIC_ISP2300:
|
|
|
7dabf7 |
+ ha->isp_type |= DT_ISP2300;
|
|
|
7dabf7 |
+ ha->device_type |= DT_ZIO_SUPPORTED;
|
|
|
7dabf7 |
+ ha->fw_srisc_address = RISC_START_ADDRESS_2300;
|
|
|
7dabf7 |
+ break;
|
|
|
7dabf7 |
+ case PCI_DEVICE_ID_QLOGIC_ISP2312:
|
|
|
7dabf7 |
+ ha->isp_type |= DT_ISP2312;
|
|
|
7dabf7 |
+ ha->device_type |= DT_ZIO_SUPPORTED;
|
|
|
7dabf7 |
+ ha->fw_srisc_address = RISC_START_ADDRESS_2300;
|
|
|
7dabf7 |
+ break;
|
|
|
7dabf7 |
+ case PCI_DEVICE_ID_QLOGIC_ISP2322:
|
|
|
7dabf7 |
+ ha->isp_type |= DT_ISP2322;
|
|
|
7dabf7 |
+ ha->device_type |= DT_ZIO_SUPPORTED;
|
|
|
7dabf7 |
+ if (ha->pdev->subsystem_vendor == 0x1028 &&
|
|
|
7dabf7 |
+ ha->pdev->subsystem_device == 0x0170)
|
|
|
7dabf7 |
+ ha->device_type |= DT_OEM_001;
|
|
|
7dabf7 |
+ ha->fw_srisc_address = RISC_START_ADDRESS_2300;
|
|
|
7dabf7 |
+ break;
|
|
|
7dabf7 |
+ case PCI_DEVICE_ID_QLOGIC_ISP6312:
|
|
|
7dabf7 |
+ ha->isp_type |= DT_ISP6312;
|
|
|
7dabf7 |
+ ha->fw_srisc_address = RISC_START_ADDRESS_2300;
|
|
|
7dabf7 |
+ break;
|
|
|
7dabf7 |
+ case PCI_DEVICE_ID_QLOGIC_ISP6322:
|
|
|
7dabf7 |
+ ha->isp_type |= DT_ISP6322;
|
|
|
7dabf7 |
+ ha->fw_srisc_address = RISC_START_ADDRESS_2300;
|
|
|
7dabf7 |
+ break;
|
|
|
7dabf7 |
+ case PCI_DEVICE_ID_QLOGIC_ISP2422:
|
|
|
7dabf7 |
+ ha->isp_type |= DT_ISP2422;
|
|
|
7dabf7 |
+ ha->device_type |= DT_ZIO_SUPPORTED;
|
|
|
7dabf7 |
+ ha->device_type |= DT_FWI2;
|
|
|
7dabf7 |
+ ha->device_type |= DT_IIDMA;
|
|
|
7dabf7 |
+ ha->fw_srisc_address = RISC_START_ADDRESS_2400;
|
|
|
7dabf7 |
+ break;
|
|
|
7dabf7 |
+ case PCI_DEVICE_ID_QLOGIC_ISP2432:
|
|
|
7dabf7 |
+ ha->isp_type |= DT_ISP2432;
|
|
|
7dabf7 |
+ ha->device_type |= DT_ZIO_SUPPORTED;
|
|
|
7dabf7 |
+ ha->device_type |= DT_FWI2;
|
|
|
7dabf7 |
+ ha->device_type |= DT_IIDMA;
|
|
|
7dabf7 |
+ ha->fw_srisc_address = RISC_START_ADDRESS_2400;
|
|
|
7dabf7 |
+ break;
|
|
|
7dabf7 |
+ case PCI_DEVICE_ID_QLOGIC_ISP8432:
|
|
|
7dabf7 |
+ ha->isp_type |= DT_ISP8432;
|
|
|
7dabf7 |
+ ha->device_type |= DT_ZIO_SUPPORTED;
|
|
|
7dabf7 |
+ ha->device_type |= DT_FWI2;
|
|
|
7dabf7 |
+ ha->device_type |= DT_IIDMA;
|
|
|
7dabf7 |
+ ha->fw_srisc_address = RISC_START_ADDRESS_2400;
|
|
|
7dabf7 |
+ break;
|
|
|
7dabf7 |
+ case PCI_DEVICE_ID_QLOGIC_ISP5422:
|
|
|
7dabf7 |
+ ha->isp_type |= DT_ISP5422;
|
|
|
7dabf7 |
+ ha->device_type |= DT_FWI2;
|
|
|
7dabf7 |
+ ha->fw_srisc_address = RISC_START_ADDRESS_2400;
|
|
|
7dabf7 |
+ break;
|
|
|
7dabf7 |
+ case PCI_DEVICE_ID_QLOGIC_ISP5432:
|
|
|
7dabf7 |
+ ha->isp_type |= DT_ISP5432;
|
|
|
7dabf7 |
+ ha->device_type |= DT_FWI2;
|
|
|
7dabf7 |
+ ha->fw_srisc_address = RISC_START_ADDRESS_2400;
|
|
|
7dabf7 |
+ break;
|
|
|
7dabf7 |
case PCI_DEVICE_ID_QLOGIC_ISP2532:
|
|
|
7dabf7 |
ha->isp_type |= DT_ISP2532;
|
|
|
7dabf7 |
ha->device_type |= DT_ZIO_SUPPORTED;
|
|
|
7dabf7 |
@@ -2556,6 +2623,29 @@
|
|
|
7dabf7 |
ha->device_type |= DT_IIDMA;
|
|
|
7dabf7 |
ha->fw_srisc_address = RISC_START_ADDRESS_2400;
|
|
|
7dabf7 |
break;
|
|
|
7dabf7 |
+ case PCI_DEVICE_ID_QLOGIC_ISP8001:
|
|
|
7dabf7 |
+ ha->isp_type |= DT_ISP8001;
|
|
|
7dabf7 |
+ ha->device_type |= DT_ZIO_SUPPORTED;
|
|
|
7dabf7 |
+ ha->device_type |= DT_FWI2;
|
|
|
7dabf7 |
+ ha->device_type |= DT_IIDMA;
|
|
|
7dabf7 |
+ ha->fw_srisc_address = RISC_START_ADDRESS_2400;
|
|
|
7dabf7 |
+ break;
|
|
|
7dabf7 |
+ case PCI_DEVICE_ID_QLOGIC_ISP8021:
|
|
|
7dabf7 |
+ ha->isp_type |= DT_ISP8021;
|
|
|
7dabf7 |
+ ha->device_type |= DT_ZIO_SUPPORTED;
|
|
|
7dabf7 |
+ ha->device_type |= DT_FWI2;
|
|
|
7dabf7 |
+ ha->fw_srisc_address = RISC_START_ADDRESS_2400;
|
|
|
7dabf7 |
+ /* Initialize 82XX ISP flags */
|
|
|
7dabf7 |
+ qla82xx_init_flags(ha);
|
|
|
7dabf7 |
+ break;
|
|
|
7dabf7 |
+ case PCI_DEVICE_ID_QLOGIC_ISP8044:
|
|
|
7dabf7 |
+ ha->isp_type |= DT_ISP8044;
|
|
|
7dabf7 |
+ ha->device_type |= DT_ZIO_SUPPORTED;
|
|
|
7dabf7 |
+ ha->device_type |= DT_FWI2;
|
|
|
7dabf7 |
+ ha->fw_srisc_address = RISC_START_ADDRESS_2400;
|
|
|
7dabf7 |
+ /* Initialize 82XX ISP flags */
|
|
|
7dabf7 |
+ qla82xx_init_flags(ha);
|
|
|
7dabf7 |
+ break;
|
|
|
7dabf7 |
case PCI_DEVICE_ID_QLOGIC_ISP2031:
|
|
|
7dabf7 |
ha->isp_type |= DT_ISP2031;
|
|
|
7dabf7 |
ha->device_type |= DT_ZIO_SUPPORTED;
|
|
|
7dabf7 |
@@ -2572,6 +2662,9 @@
|
|
|
7dabf7 |
ha->device_type |= DT_T10_PI;
|
|
|
7dabf7 |
ha->fw_srisc_address = RISC_START_ADDRESS_2400;
|
|
|
7dabf7 |
break;
|
|
|
7dabf7 |
+ case PCI_DEVICE_ID_QLOGIC_ISPF001:
|
|
|
7dabf7 |
+ ha->isp_type |= DT_ISPFX00;
|
|
|
7dabf7 |
+ break;
|
|
|
7dabf7 |
case PCI_DEVICE_ID_QLOGIC_ISP2071:
|
|
|
7dabf7 |
ha->isp_type |= DT_ISP2071;
|
|
|
7dabf7 |
ha->device_type |= DT_ZIO_SUPPORTED;
|
|
|
7dabf7 |
@@ -2705,9 +2798,18 @@
|
|
|
7dabf7 |
|
|
|
7dabf7 |
bars = pci_select_bars(pdev, IORESOURCE_MEM | IORESOURCE_IO);
|
|
|
7dabf7 |
sht = &qla2xxx_driver_template;
|
|
|
7dabf7 |
- if (pdev->device == PCI_DEVICE_ID_QLOGIC_ISP2532 ||
|
|
|
7dabf7 |
+ if (pdev->device == PCI_DEVICE_ID_QLOGIC_ISP2422 ||
|
|
|
7dabf7 |
+ pdev->device == PCI_DEVICE_ID_QLOGIC_ISP2432 ||
|
|
|
7dabf7 |
+ pdev->device == PCI_DEVICE_ID_QLOGIC_ISP8432 ||
|
|
|
7dabf7 |
+ pdev->device == PCI_DEVICE_ID_QLOGIC_ISP5422 ||
|
|
|
7dabf7 |
+ pdev->device == PCI_DEVICE_ID_QLOGIC_ISP5432 ||
|
|
|
7dabf7 |
+ pdev->device == PCI_DEVICE_ID_QLOGIC_ISP2532 ||
|
|
|
7dabf7 |
+ pdev->device == PCI_DEVICE_ID_QLOGIC_ISP8001 ||
|
|
|
7dabf7 |
+ pdev->device == PCI_DEVICE_ID_QLOGIC_ISP8021 ||
|
|
|
7dabf7 |
pdev->device == PCI_DEVICE_ID_QLOGIC_ISP2031 ||
|
|
|
7dabf7 |
pdev->device == PCI_DEVICE_ID_QLOGIC_ISP8031 ||
|
|
|
7dabf7 |
+ pdev->device == PCI_DEVICE_ID_QLOGIC_ISPF001 ||
|
|
|
7dabf7 |
+ pdev->device == PCI_DEVICE_ID_QLOGIC_ISP8044 ||
|
|
|
7dabf7 |
pdev->device == PCI_DEVICE_ID_QLOGIC_ISP2071 ||
|
|
|
7dabf7 |
pdev->device == PCI_DEVICE_ID_QLOGIC_ISP2271 ||
|
|
|
7dabf7 |
pdev->device == PCI_DEVICE_ID_QLOGIC_ISP2261 ||
|
|
|
7dabf7 |
@@ -7598,9 +7700,25 @@
|
|
|
7dabf7 |
};
|
|
|
7dabf7 |
|
|
|
7dabf7 |
static struct pci_device_id qla2xxx_pci_tbl[] = {
|
|
|
7dabf7 |
+ { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2100) },
|
|
|
7dabf7 |
+ { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2200) },
|
|
|
7dabf7 |
+ { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2300) },
|
|
|
7dabf7 |
+ { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2312) },
|
|
|
7dabf7 |
+ { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2322) },
|
|
|
7dabf7 |
+ { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP6312) },
|
|
|
7dabf7 |
+ { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP6322) },
|
|
|
7dabf7 |
+ { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2422) },
|
|
|
7dabf7 |
+ { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2432) },
|
|
|
7dabf7 |
+ { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP8432) },
|
|
|
7dabf7 |
+ { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP5422) },
|
|
|
7dabf7 |
+ { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP5432) },
|
|
|
7dabf7 |
{ PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2532) },
|
|
|
7dabf7 |
{ PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2031) },
|
|
|
7dabf7 |
+ { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP8001) },
|
|
|
7dabf7 |
+ { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP8021) },
|
|
|
7dabf7 |
{ PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP8031) },
|
|
|
7dabf7 |
+ { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISPF001) },
|
|
|
7dabf7 |
+ { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP8044) },
|
|
|
7dabf7 |
{ PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2071) },
|
|
|
7dabf7 |
{ PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2271) },
|
|
|
7dabf7 |
{ PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2261) },
|