arcmsr: adds code for support areca new adapter ARC1203
PATCH v2 2/3 arcmsr: adds code for support areca new adapter ARC1203
From: Ching Huang <[email protected]>
Support areca new PCIe to SATA RAID adapter ARC1203
---
drivers/scsi/arcmsr/arcmsr.h +9 -0
@@ -74,6 +74,9 @@ struct device_attribute;#ifndef PCI_DEVICE_ID_ARECA_1214 #define PCI_DEVICE_ID_ARECA_1214 0x1214#endif +#ifndef PCI_DEVICE_ID_ARECA_1203 +#define PCI_DEVICE_ID_ARECA_1203 0x1203 +#endif /* ********************************************************************************** **
@@ -245,6 +248,12 @@ struct FIRMWARE_INFO/* window of "instruction flags" from iop to driver */ #define ARCMSR_IOP2DRV_DOORBELL 0x00020408#define ARCMSR_IOP2DRV_DOORBELL_MASK 0x0002040C +/* window of "instruction flags" from iop to driver */ +#define ARCMSR_IOP2DRV_DOORBELL_1203 0x00021870 +#define ARCMSR_IOP2DRV_DOORBELL_MASK_1203 0x00021874 +/* window of "instruction flags" from driver to iop */ +#define ARCMSR_DRV2IOP_DOORBELL_1203 0x00021878 +#define ARCMSR_DRV2IOP_DOORBELL_MASK_1203 0x0002187C/* ARECA FLAG LANGUAGE */ /* ioctl transfer */ #define ARCMSR_IOP2DRV_DATA_WRITE_OK 0x00000001
drivers/scsi/arcmsr/arcmsr_hba.c +27 -6
@@ -114,6 +114,7 @@ static void arcmsr_hardware_reset(structstatic const char *arcmsr_info (struct Scsi_Host *);static irqreturn_t arcmsr_interrupt (struct AdapterControlBlock *acb);static void arcmsr_free_irq (struct pci_dev *,struct AdapterControlBlock *); +static void arcmsr_wait_firmware_ready (struct AdapterControlBlock *acb);static int arcmsr_adjust_disk_queue_depth (struct scsi_device *sdev,int queue_depth) {if (queue_depth >ARCMSR_MAX_CMD_PERLUN )
@@ -157,6 +158,8 @@ static struct pci_device_id arcmsr_devic .driver_data = ACB_ADAPTER_TYPE_B}, {PCI_DEVICE(PCI_VENDOR_ID_ARECA, PCI_DEVICE_ID_ARECA_1202), .driver_data = ACB_ADAPTER_TYPE_B}, + {PCI_DEVICE(PCI_VENDOR_ID_ARECA, PCI_DEVICE_ID_ARECA_1203), + .driver_data = ACB_ADAPTER_TYPE_B}, {PCI_DEVICE(PCI_VENDOR_ID_ARECA, PCI_DEVICE_ID_ARECA_1210), .driver_data = ACB_ADAPTER_TYPE_A}, {PCI_DEVICE(PCI_VENDOR_ID_ARECA, PCI_DEVICE_ID_ARECA_1214),
@@ -2621,7 +2624,7 @@ static bool arcmsr_hbaA_get_config(struc }static bool arcmsr_hbaB_get_config (struct AdapterControlBlock *acb) { -struct MessageUnit_B *reg = acb->pmuB; +struct MessageUnit_B *reg;struct pci_dev *pdev = acb->pdev;void *dma_coherent;dma_addr_t dma_coherent_handle;
@@ -2649,10 +2652,17 @@ static bool arcmsr_hbaB_get_config(struc acb->dma_coherent2 = dma_coherent; reg = (struct MessageUnit_B *)dma_coherent; acb->pmuB = reg; - reg->drv2iop_doorbell= (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_DRV2IOP_DOORBELL ); - reg->drv2iop_doorbell_mask = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_DRV2IOP_DOORBELL_MASK ); - reg->iop2drv_doorbell = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_IOP2DRV_DOORBELL ); - reg->iop2drv_doorbell_mask = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_IOP2DRV_DOORBELL_MASK ); +if (acb->pdev->device ==PCI_DEVICE_ID_ARECA_1203 ) { + reg->drv2iop_doorbell = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_DRV2IOP_DOORBELL_1203 ); + reg->drv2iop_doorbell_mask = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_DRV2IOP_DOORBELL_MASK_1203 ); + reg->iop2drv_doorbell = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_IOP2DRV_DOORBELL_1203 ); + reg->iop2drv_doorbell_mask = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_IOP2DRV_DOORBELL_MASK_1203 ); + }else { + reg->drv2iop_doorbell= (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_DRV2IOP_DOORBELL ); + reg->drv2iop_doorbell_mask = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_DRV2IOP_DOORBELL_MASK ); + reg->iop2drv_doorbell = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_IOP2DRV_DOORBELL ); + reg->iop2drv_doorbell_mask = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_IOP2DRV_DOORBELL_MASK ); + } reg->message_wbuffer = (uint32_t __iomem *)((unsigned long )acb->mem_base1 +ARCMSR_MESSAGE_WBUFFER ); reg->message_rbuffer = (uint32_t __iomem *)((unsigned long )acb->mem_base1 +ARCMSR_MESSAGE_RBUFFER ); reg->message_rwbuffer = (uint32_t __iomem *)((unsigned long )acb->mem_base1 +ARCMSR_MESSAGE_RWBUFFER );
@@ -2660,11 +2670,17 @@ static bool arcmsr_hbaB_get_config(struc iop_firm_version = (char __iomem *)(®->message_rwbuffer[17 ]);/*firm_version,17,68-83*/ iop_device_map = (char __iomem *)(®->message_rwbuffer[21 ]);/*firm_version,21,84-99*/ +arcmsr_wait_firmware_ready (acb); +writel (ARCMSR_MESSAGE_START_DRIVER_MODE , reg->drv2iop_doorbell); +if (!arcmsr_hbaB_wait_msgint_ready (acb)) { +printk (KERN_ERR "arcmsr%d: can't set driver mode.\n" , acb->host->host_no); + goto err_free_dma; + }writel (ARCMSR_MESSAGE_GET_CONFIG , reg->drv2iop_doorbell);if (!arcmsr_hbaB_wait_msgint_ready (acb)) {printk (KERN_NOTICE "arcmsr%d: wait 'get adapter firmware \ miscellaneous data' timeout \n" , acb->host->host_no); -return false; + goto err_free_dma; } count =8 ;while (count){
@@ -2707,6 +2723,10 @@ static bool arcmsr_hbaB_get_config(struc acb->firm_cfg_version =readl (®->message_rwbuffer[25 ]);/*firm_cfg_version,25,100-103*/ /*firm_ide_channels,4,16-19*/ return true; +err_free_dma: +dma_free_coherent (&acb->pdev->dev, acb->roundup_ccbsize, + acb->dma_coherent2, acb->dma_coherent_handle2); +return false; }static bool arcmsr_hbaC_get_config (struct AdapterControlBlock *pACB)
@@ -3998,6 +4018,7 @@ static const char *arcmsr_info(struct Sccase PCI_DEVICE_ID_ARECA_1160 :case PCI_DEVICE_ID_ARECA_1170 :case PCI_DEVICE_ID_ARECA_1201 : +case PCI_DEVICE_ID_ARECA_1203 :case PCI_DEVICE_ID_ARECA_1220 :case PCI_DEVICE_ID_ARECA_1230 :case PCI_DEVICE_ID_ARECA_1260 :
Quoted 94 lines · Ching Huang
From: Ching Huang <[email protected]>
Support areca new PCIe to SATA RAID adapter ARC1203
Signed-of-by Ching Huang<[email protected]>---
diff -uprN
a/drivers/scsi/arcmsr/arcmsr.hb/drivers/scsi/arcmsr/arcmsr.hdrivers/scsi/arcmsr/arcmsr.h +9
-0@@ -74,6 +74,9 @@ struct device_attribute;#ifndef PCI_DEVICE_ID_ARECA_1214 #define PCI_DEVICE_ID_ARECA_1214 0x1214#endif +#ifndef PCI_DEVICE_ID_ARECA_1203 +#define PCI_DEVICE_ID_ARECA_1203 0x1203 +#endif /* ********************************************************************************** ** @@ -245,6 +248,12 @@ struct FIRMWARE_INFO/* window of "instruction flags" from iop to driver */ #define ARCMSR_IOP2DRV_DOORBELL 0x00020408#define ARCMSR_IOP2DRV_DOORBELL_MASK 0x0002040C +/* window of "instruction flags" from iop to driver */ +#define ARCMSR_IOP2DRV_DOORBELL_1203 0x00021870 +#define ARCMSR_IOP2DRV_DOORBELL_MASK_1203 0x00021874 +/* window of "instruction flags" from driver to iop */ +#define ARCMSR_DRV2IOP_DOORBELL_1203 0x00021878 +#define ARCMSR_DRV2IOP_DOORBELL_MASK_1203 0x0002187C/* ARECA FLAG LANGUAGE */ /* ioctl transfer */ #define ARCMSR_IOP2DRV_DATA_WRITE_OK 0x00000001diff -uprN
a/drivers/scsi/arcmsr/arcmsr_hba.cb/drivers/scsi/arcmsr/arcmsr_hba.cdrivers/scsi/arcmsr/arcmsr_hba.c +20
-5@@ -114,6 +114,7 @@ static void arcmsr_hardware_reset(structstatic const char *arcmsr_info (struct Scsi_Host *);static irqreturn_t arcmsr_interrupt (struct AdapterControlBlock *acb);static void arcmsr_free_irq (struct pci_dev *,struct AdapterControlBlock *); +static void arcmsr_wait_firmware_ready (struct AdapterControlBlock *acb);static int arcmsr_adjust_disk_queue_depth (struct scsi_device *sdev,int queue_depth) {if (queue_depth >ARCMSR_MAX_CMD_PERLUN )@@ -157,6 +158,8 @@ static struct pci_device_id arcmsr_devic .driver_data = ACB_ADAPTER_TYPE_B}, {PCI_DEVICE(PCI_VENDOR_ID_ARECA, PCI_DEVICE_ID_ARECA_1202), .driver_data = ACB_ADAPTER_TYPE_B}, + {PCI_DEVICE(PCI_VENDOR_ID_ARECA, PCI_DEVICE_ID_ARECA_1203), + .driver_data = ACB_ADAPTER_TYPE_B}, {PCI_DEVICE(PCI_VENDOR_ID_ARECA, PCI_DEVICE_ID_ARECA_1210), .driver_data = ACB_ADAPTER_TYPE_A}, {PCI_DEVICE(PCI_VENDOR_ID_ARECA, PCI_DEVICE_ID_ARECA_1214),@@ -2621,7 +2624,7 @@ static bool arcmsr_hbaA_get_config(struc }static bool arcmsr_hbaB_get_config (struct AdapterControlBlock *acb) { -struct MessageUnit_B *reg = acb->pmuB; +struct MessageUnit_B *reg;struct pci_dev *pdev = acb->pdev;void *dma_coherent;dma_addr_t dma_coherent_handle;@@ -2649,10 +2652,17 @@ static bool arcmsr_hbaB_get_config(struc acb->dma_coherent2 = dma_coherent; reg = (struct MessageUnit_B *)dma_coherent; acb->pmuB = reg; - reg->drv2iop_doorbell= (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_DRV2IOP_DOORBELL ); - reg->drv2iop_doorbell_mask = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_DRV2IOP_DOORBELL_MASK ); - reg->iop2drv_doorbell = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_IOP2DRV_DOORBELL ); - reg->iop2drv_doorbell_mask = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_IOP2DRV_DOORBELL_MASK ); +if (acb->pdev->device ==PCI_DEVICE_ID_ARECA_1203 ) { + reg->drv2iop_doorbell = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_DRV2IOP_DOORBELL_1203 ); + reg->drv2iop_doorbell_mask = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_DRV2IOP_DOORBELL_MASK_1203 ); + reg->iop2drv_doorbell = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_IOP2DRV_DOORBELL_1203 ); + reg->iop2drv_doorbell_mask = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_IOP2DRV_DOORBELL_MASK_1203 ); + }else { + reg->drv2iop_doorbell= (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_DRV2IOP_DOORBELL ); + reg->drv2iop_doorbell_mask = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_DRV2IOP_DOORBELL_MASK ); + reg->iop2drv_doorbell = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_IOP2DRV_DOORBELL ); + reg->iop2drv_doorbell_mask = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_IOP2DRV_DOORBELL_MASK ); + } reg->message_wbuffer = (uint32_t __iomem *)((unsigned long )acb->mem_base1 +ARCMSR_MESSAGE_WBUFFER ); reg->message_rbuffer = (uint32_t __iomem *)((unsigned long )acb->mem_base1 +ARCMSR_MESSAGE_RBUFFER ); reg->message_rwbuffer = (uint32_t __iomem *)((unsigned long )acb->mem_base1 +ARCMSR_MESSAGE_RWBUFFER );@@ -2660,11 +2670,17 @@ static bool arcmsr_hbaB_get_config(struc iop_firm_version = (char __iomem *)(®->message_rwbuffer[17 ]);/*firm_version,17,68-83*/ iop_device_map = (char __iomem *)(®->message_rwbuffer[21 ]);/*firm_version,21,84-99*/ +arcmsr_wait_firmware_ready (acb); +writel (ARCMSR_MESSAGE_START_DRIVER_MODE , reg->drv2iop_doorbell); +if (!arcmsr_hbaB_wait_msgint_ready (acb)) { +printk (KERN_ERR "arcmsr%d: can't set driver mode.\n" , acb->host->host_no); + goto err_free_dma;
drivers/scsi/arcmsr/arcmsr_hba.c static bool arcmsr_hbaB_get_config(struc · line 2686
Quoted 10 lines
drivers/scsi/arcmsr/arcmsr_hba.c +2
-1+ }writel (ARCMSR_MESSAGE_GET_CONFIG , reg->drv2iop_doorbell);if (!arcmsr_hbaB_wait_msgint_ready (acb)) {printk (KERN_NOTICE "arcmsr%d: wait 'get adapter firmware \ miscellaneous data' timeout \n" , acb->host->host_no); -return false; + goto err_free_dma; } count =8 ;while (count){
Is this backwards compatible?
Apparently older boards do not require the 'START_DRIVER_MODE' message, making me wonder if it's even implemented there. Shouldn't this rather be enclosed by a check for the device id?
drivers/scsi/arcmsr/arcmsr_hba.c static bool arcmsr_hbaB_get_config(struc · line 2731
Quoted 10 lines
drivers/scsi/arcmsr/arcmsr_hba.c +4
-0@@ -2707,6 +2723,10 @@ static bool arcmsr_hbaB_get_config(struc acb->firm_cfg_version =readl (®->message_rwbuffer[25 ]);/*firm_cfg_version,25,100-103*/ /*firm_ide_channels,4,16-19*/ return true; +err_free_dma: +dma_free_coherent (&acb->pdev->dev, acb->roundup_ccbsize, + acb->dma_coherent2, acb->dma_coherent_handle2); +return false; }
And this is actually a bugfix, but hey.
drivers/scsi/arcmsr/arcmsr_hba.c static const char *arcmsr_info(struct Sc · line 4024
Quoted 11 lines
drivers/scsi/arcmsr/arcmsr_hba.c +1
-0static bool arcmsr_hbaC_get_config (struct AdapterControlBlock *pACB)@@ -3998,6 +4018,7 @@ static const char *arcmsr_info(struct Sccase PCI_DEVICE_ID_ARECA_1160 :case PCI_DEVICE_ID_ARECA_1170 :case PCI_DEVICE_ID_ARECA_1201 : +case PCI_DEVICE_ID_ARECA_1203 :case PCI_DEVICE_ID_ARECA_1220 :case PCI_DEVICE_ID_ARECA_1230 :case PCI_DEVICE_ID_ARECA_1260 :
Cheers,
Hannes
Signature · 5 lines
Dr. Hannes Reinecke zSeries & Storage [email protected] +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg)
Quoted 101 lines · Hannes Reinecke
Quoted 100 lines · Ching Huang
From: Ching Huang <[email protected]>
Support areca new PCIe to SATA RAID adapter ARC1203
Signed-of-by Ching Huang<[email protected]>---
diff -uprN
a/drivers/scsi/arcmsr/arcmsr.hb/drivers/scsi/arcmsr/arcmsr.hdrivers/scsi/arcmsr/arcmsr.h +9
-0@@ -74,6 +74,9 @@ struct device_attribute;#ifndef PCI_DEVICE_ID_ARECA_1214 #define PCI_DEVICE_ID_ARECA_1214 0x1214#endif +#ifndef PCI_DEVICE_ID_ARECA_1203 +#define PCI_DEVICE_ID_ARECA_1203 0x1203 +#endif /* ********************************************************************************** ** @@ -245,6 +248,12 @@ struct FIRMWARE_INFO/* window of "instruction flags" from iop to driver */ #define ARCMSR_IOP2DRV_DOORBELL 0x00020408#define ARCMSR_IOP2DRV_DOORBELL_MASK 0x0002040C +/* window of "instruction flags" from iop to driver */ +#define ARCMSR_IOP2DRV_DOORBELL_1203 0x00021870 +#define ARCMSR_IOP2DRV_DOORBELL_MASK_1203 0x00021874 +/* window of "instruction flags" from driver to iop */ +#define ARCMSR_DRV2IOP_DOORBELL_1203 0x00021878 +#define ARCMSR_DRV2IOP_DOORBELL_MASK_1203 0x0002187C/* ARECA FLAG LANGUAGE */ /* ioctl transfer */ #define ARCMSR_IOP2DRV_DATA_WRITE_OK 0x00000001diff -uprN
a/drivers/scsi/arcmsr/arcmsr_hba.cb/drivers/scsi/arcmsr/arcmsr_hba.cdrivers/scsi/arcmsr/arcmsr_hba.c +21
-6@@ -114,6 +114,7 @@ static void arcmsr_hardware_reset(structstatic const char *arcmsr_info (struct Scsi_Host *);static irqreturn_t arcmsr_interrupt (struct AdapterControlBlock *acb);static void arcmsr_free_irq (struct pci_dev *,struct AdapterControlBlock *); +static void arcmsr_wait_firmware_ready (struct AdapterControlBlock *acb);static int arcmsr_adjust_disk_queue_depth (struct scsi_device *sdev,int queue_depth) {if (queue_depth >ARCMSR_MAX_CMD_PERLUN )@@ -157,6 +158,8 @@ static struct pci_device_id arcmsr_devic .driver_data = ACB_ADAPTER_TYPE_B}, {PCI_DEVICE(PCI_VENDOR_ID_ARECA, PCI_DEVICE_ID_ARECA_1202), .driver_data = ACB_ADAPTER_TYPE_B}, + {PCI_DEVICE(PCI_VENDOR_ID_ARECA, PCI_DEVICE_ID_ARECA_1203), + .driver_data = ACB_ADAPTER_TYPE_B}, {PCI_DEVICE(PCI_VENDOR_ID_ARECA, PCI_DEVICE_ID_ARECA_1210), .driver_data = ACB_ADAPTER_TYPE_A}, {PCI_DEVICE(PCI_VENDOR_ID_ARECA, PCI_DEVICE_ID_ARECA_1214),@@ -2621,7 +2624,7 @@ static bool arcmsr_hbaA_get_config(struc }static bool arcmsr_hbaB_get_config (struct AdapterControlBlock *acb) { -struct MessageUnit_B *reg = acb->pmuB; +struct MessageUnit_B *reg;struct pci_dev *pdev = acb->pdev;void *dma_coherent;dma_addr_t dma_coherent_handle;@@ -2649,10 +2652,17 @@ static bool arcmsr_hbaB_get_config(struc acb->dma_coherent2 = dma_coherent; reg = (struct MessageUnit_B *)dma_coherent; acb->pmuB = reg; - reg->drv2iop_doorbell= (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_DRV2IOP_DOORBELL ); - reg->drv2iop_doorbell_mask = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_DRV2IOP_DOORBELL_MASK ); - reg->iop2drv_doorbell = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_IOP2DRV_DOORBELL ); - reg->iop2drv_doorbell_mask = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_IOP2DRV_DOORBELL_MASK ); +if (acb->pdev->device ==PCI_DEVICE_ID_ARECA_1203 ) { + reg->drv2iop_doorbell = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_DRV2IOP_DOORBELL_1203 ); + reg->drv2iop_doorbell_mask = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_DRV2IOP_DOORBELL_MASK_1203 ); + reg->iop2drv_doorbell = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_IOP2DRV_DOORBELL_1203 ); + reg->iop2drv_doorbell_mask = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_IOP2DRV_DOORBELL_MASK_1203 ); + }else { + reg->drv2iop_doorbell= (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_DRV2IOP_DOORBELL ); + reg->drv2iop_doorbell_mask = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_DRV2IOP_DOORBELL_MASK ); + reg->iop2drv_doorbell = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_IOP2DRV_DOORBELL ); + reg->iop2drv_doorbell_mask = (uint32_t __iomem *)((unsigned long )acb->mem_base0 +ARCMSR_IOP2DRV_DOORBELL_MASK ); + } reg->message_wbuffer = (uint32_t __iomem *)((unsigned long )acb->mem_base1 +ARCMSR_MESSAGE_WBUFFER ); reg->message_rbuffer = (uint32_t __iomem *)((unsigned long )acb->mem_base1 +ARCMSR_MESSAGE_RBUFFER ); reg->message_rwbuffer = (uint32_t __iomem *)((unsigned long )acb->mem_base1 +ARCMSR_MESSAGE_RWBUFFER );@@ -2660,11 +2670,17 @@ static bool arcmsr_hbaB_get_config(struc iop_firm_version = (char __iomem *)(®->message_rwbuffer[17 ]);/*firm_version,17,68-83*/ iop_device_map = (char __iomem *)(®->message_rwbuffer[21 ]);/*firm_version,21,84-99*/ +arcmsr_wait_firmware_ready (acb); +writel (ARCMSR_MESSAGE_START_DRIVER_MODE , reg->drv2iop_doorbell); +if (!arcmsr_hbaB_wait_msgint_ready (acb)) { +printk (KERN_ERR "arcmsr%d: can't set driver mode.\n" , acb->host->host_no); + goto err_free_dma; + }writel (ARCMSR_MESSAGE_GET_CONFIG , reg->drv2iop_doorbell);if (!arcmsr_hbaB_wait_msgint_ready (acb)) {printk (KERN_NOTICE "arcmsr%d: wait 'get adapter firmware \ miscellaneous data' timeout \n" , acb->host->host_no); -return false;
Quoted 9 lines
drivers/scsi/arcmsr/arcmsr_hba.c static bool arcmsr_hbaB_get_config(struc · line 2686
Quoted 4 lines
drivers/scsi/arcmsr/arcmsr_hba.c +1
-0+ goto err_free_dma; } count =8 ;while (count){Is this backwards compatible?
Apparently older boards do not require the 'START_DRIVER_MODE' message, making me wonder if it's even implemented there. Shouldn't this rather be enclosed by a check for the device id?
Yes. This is backward compatible to old adapters.
Quoted 12 lines
drivers/scsi/arcmsr/arcmsr_hba.c static bool arcmsr_hbaB_get_config(struc · line 2731
Quoted 10 lines
drivers/scsi/arcmsr/arcmsr_hba.c +4
-0@@ -2707,6 +2723,10 @@ static bool arcmsr_hbaB_get_config(struc acb->firm_cfg_version =readl (®->message_rwbuffer[25 ]);/*firm_cfg_version,25,100-103*/ /*firm_ide_channels,4,16-19*/ return true; +err_free_dma: +dma_free_coherent (&acb->pdev->dev, acb->roundup_ccbsize, + acb->dma_coherent2, acb->dma_coherent_handle2); +return false; }And this is actually a bugfix, but hey.
OK. I will split this as a separate patch.
Quoted 14 lines
drivers/scsi/arcmsr/arcmsr_hba.c static const char *arcmsr_info(struct Sc · line 4024
Quoted 11 lines
drivers/scsi/arcmsr/arcmsr_hba.c +1
-0static bool arcmsr_hbaC_get_config (struct AdapterControlBlock *pACB)@@ -3998,6 +4018,7 @@ static const char *arcmsr_info(struct Sccase PCI_DEVICE_ID_ARECA_1160 :case PCI_DEVICE_ID_ARECA_1170 :case PCI_DEVICE_ID_ARECA_1201 : +case PCI_DEVICE_ID_ARECA_1203 :case PCI_DEVICE_ID_ARECA_1220 :case PCI_DEVICE_ID_ARECA_1230 :case PCI_DEVICE_ID_ARECA_1260 :Cheers,
Hannes
Quoted 98 lines · Ching Huang
From: Ching Huang <[email protected]>
Support areca new PCIe to SATA RAID adapter ARC1203
Signed-of-by Ching Huang<[email protected]>---
diff -uprN
a/drivers/scsi/arcmsr/arcmsr.hb/drivers/scsi/arcmsr/arcmsr.hdrivers/scsi/arcmsr/arcmsr.h +3
-0@@ -74,6 +74,9 @@ struct device_attribute; #ifndef PCI_DEVICE_ID_ARECA_1214 #define PCI_DEVICE_ID_ARECA_1214 0x1214 #endif +#ifndef PCI_DEVICE_ID_ARECA_1203 +#define PCI_DEVICE_ID_ARECA_1203 0x1203 +#endif /***************************************************************************** ****** **
drivers/scsi/arcmsr/arcmsr.h +6
-0@@ -245,6 +248,12 @@ struct FIRMWARE_INFO /* window of "instruction flags" from iop to driver */ #define ARCMSR_IOP2DRV_DOORBELL 0x00020408 #define ARCMSR_IOP2DRV_DOORBELL_MASK 0x0002040C +/* window of "instruction flags" from iop to driver */ +#define ARCMSR_IOP2DRV_DOORBELL_1203 0x00021870 +#define ARCMSR_IOP2DRV_DOORBELL_MASK_1203 0x00021874 +/* window of "instruction flags" from driver to iop */ +#define ARCMSR_DRV2IOP_DOORBELL_1203 0x00021878 +#define ARCMSR_DRV2IOP_DOORBELL_MASK_1203 0x0002187C /* ARECA FLAG LANGUAGE */ /* ioctl transfer */ #define ARCMSR_IOP2DRV_DATA_WRITE_OK 0x00000001diff -uprN
a/drivers/scsi/arcmsr/arcmsr_hba.cb/drivers/scsi/arcmsr/arcmsr_hba.c
---a/drivers/scsi/arcmsr/arcmsr_hba.c2015-11-24 11:35:26.000000000
+0800
+++b/drivers/scsi/arcmsr/arcmsr_hba.c2015-11-24 18:58:40.640226000
+0800drivers/scsi/arcmsr/arcmsr.h +1
-0@@ -114,6 +114,7 @@ static void arcmsr_hardware_reset(struct static const char *arcmsr_info(struct Scsi_Host *); static irqreturn_t arcmsr_interrupt(struct AdapterControlBlock *acb); static void arcmsr_free_irq(struct pci_dev *, struct AdapterControlBlock *); +static void arcmsr_wait_firmware_ready (struct AdapterControlBlock *acb);static int
arcmsr_adjust_disk_queue_depth(struct scsi_device *sdev, int queue_depth)
{
if (queue_depth>ARCMSR_MAX_CMD_PERLUN)drivers/scsi/arcmsr/arcmsr.h +3
-5@@ -157,6 +158,8 @@ static struct pci_device_id arcmsr_devic .driver_data = ACB_ADAPTER_TYPE_B}, {PCI_DEVICE(PCI_VENDOR_ID_ARECA, PCI_DEVICE_ID_ARECA_1202), .driver_data = ACB_ADAPTER_TYPE_B}, + {PCI_DEVICE(PCI_VENDOR_ID_ARECA, PCI_DEVICE_ID_ARECA_1203), + .driver_data = ACB_ADAPTER_TYPE_B}, {PCI_DEVICE(PCI_VENDOR_ID_ARECA, PCI_DEVICE_ID_ARECA_1210), .driver_data = ACB_ADAPTER_TYPE_A}, {PCI_DEVICE(PCI_VENDOR_ID_ARECA, PCI_DEVICE_ID_ARECA_1214),@@ -2621,7 +2624,7 @@ static bool arcmsr_hbaA_get_config(struc } static bool arcmsr_hbaB_get_config(struct AdapterControlBlock *acb) { -struct MessageUnit_B *reg = acb->pmuB; +struct MessageUnit_B *reg; struct pci_dev *pdev = acb->pdev; void *dma_coherent; dma_addr_t dma_coherent_handle;@@ -2649,10 +2652,17 @@ static bool arcmsr_hbaB_get_config(struc acb->dma_coherent2 = dma_coherent; reg = (struct MessageUnit_B *)dma_coherent; acb->pmuB = reg; - reg->drv2iop_doorbell= (uint32_t __iomem *)((unsigned long )acb- >mem_base0 + ARCMSR_DRV2IOP_DOORBELL); - reg->drv2iop_doorbell_mask = (uint32_t __iomem *)((unsigned long)acb->mem_base0 + ARCMSR_DRV2IOP_DOORBELL_MASK); - reg->iop2drv_doorbell = (uint32_t __iomem *)((unsigned long )acb- >mem_base0 + ARCMSR_IOP2DRV_DOORBELL); - reg->iop2drv_doorbell_mask = (uint32_t __iomem *)((unsignedlong)acb->mem_base0 +
ARCMSR_IOP2DRV_DOORBELL_MASK);drivers/scsi/arcmsr/arcmsr.h +2
-0+if (acb->pdev->device ==PCI_DEVICE_ID_ARECA_1203 ) { + reg->drv2iop_doorbell = (uint32_t __iomem *)((unsignedlong)acb->mem_base0 +
ARCMSR_DRV2IOP_DOORBELL_1203);drivers/scsi/arcmsr/arcmsr.h +1
-0+ reg->drv2iop_doorbell_mask = (uint32_t __iomem *)((unsignedlong)acb->mem_base0 +
ARCMSR_DRV2IOP_DOORBELL_MASK_1203);drivers/scsi/arcmsr/arcmsr.h +1
-0+ reg->iop2drv_doorbell = (uint32_t __iomem *)((unsignedlong)acb->mem_base0 +
ARCMSR_IOP2DRV_DOORBELL_1203);drivers/scsi/arcmsr/arcmsr.h +1
-0+ reg->iop2drv_doorbell_mask = (uint32_t __iomem *)((unsignedlong)acb->mem_base0 +
ARCMSR_IOP2DRV_DOORBELL_MASK_1203);drivers/scsi/arcmsr/arcmsr.h +2
-0+ }else { + reg->drv2iop_doorbell= (uint32_t __iomem *)((unsignedlong)acb->mem_base0 +
ARCMSR_DRV2IOP_DOORBELL);drivers/scsi/arcmsr/arcmsr.h +1
-0+ reg->drv2iop_doorbell_mask = (uint32_t __iomem *)((unsignedlong)acb->mem_base0 +
ARCMSR_DRV2IOP_DOORBELL_MASK);drivers/scsi/arcmsr/arcmsr.h +1
-0+ reg->iop2drv_doorbell = (uint32_t __iomem *)((unsignedlong)acb->mem_base0 +
ARCMSR_IOP2DRV_DOORBELL);drivers/scsi/arcmsr/arcmsr.h +1
-0+ reg->iop2drv_doorbell_mask = (uint32_t __iomem *)((unsignedlong)acb->mem_base0 +
ARCMSR_IOP2DRV_DOORBELL_MASK);
drivers/scsi/arcmsr/arcmsr.h
Quoted 1 line
drivers/scsi/arcmsr/arcmsr.h +1
-0+ }
This isn't quite readable IMHO. Can't you do:
#define MEM_BASE0(x) (u32 __iomem *)((unsigned long)acb->mem_base0 + (x)) #define MEM_BASE1(x) (u32 __iomem *)((unsigned long)acb->mem_base1 + (x))
and then
reg->drv2iop_doorbell= MEM_BASE0(ARCMSR_DRV2IOP_DOORBELL); reg->drv2iop_doorbell_mask = MEM_BASE0(ARCMSR_DRV2IOP_DOORBELL_MASK); reg->iop2drv_doorbell = MEM_BASE0(ARCMSR_IOP2DRV_DOORBELL); reg->iop2drv_doorbell_mask = MEM_BASE0(ARCMSR_IOP2DRV_DOORBELL_MASK); reg->message_wbuffer = MEM_BASE1(ARCMSR_MESSAGE_WBUFFER); reg->message_rbuffer = MEM_BASE1(ARCMSR_MESSAGE_RBUFFER); reg->message_rwbuffer = MEM_BASE1(ARCMSR_MESSAGE_RWBUFFER);
(Note this hunk is made without your patch. And not tested)
Quoted 55 lines
reg->message_wbuffer= (uint32_t__iomem*)((unsigned long)acb-Quoted 1 line
mem_base1+ARCMSR_MESSAGE_WBUFFER);
reg->message_rbuffer= (uint32_t__iomem*)((unsigned long)acb-Quoted 1 line
mem_base1+ARCMSR_MESSAGE_RBUFFER);
reg->message_rwbuffer= (uint32_t__iomem*)((unsigned long)acb-Quoted 1 line
mem_base1+ARCMSR_MESSAGE_RWBUFFER);drivers/scsi/arcmsr/arcmsr.h +0
-0@@ -2660,11 +2670,17 @@ static bool arcmsr_hbaB_get_config(struc iop_firm_version = (char __iomem *)(®->message_rwbuffer[17]);/*firm_version,17,68-83*/ iop_device_map = (char __iomem *)(®->message_rwbuffer[21]);/*firm_version,21,84-99*/ drivers/scsi/arcmsr/arcmsr.h +4
-0+arcmsr_wait_firmware_ready (acb); +writel (ARCMSR_MESSAGE_START_DRIVER_MODE , reg->drv2iop_doorbell); +if (!arcmsr_hbaB_wait_msgint_ready (acb)) { + printk(KERN_ERR "arcmsr%d: can't set driver mode.\n", acb-Quoted 1 line
host->host_no);drivers/scsi/arcmsr/arcmsr.h +2
-0+ goto err_free_dma; + }
writel(ARCMSR_MESSAGE_GET_CONFIG, reg->drv2iop_doorbell); if (!arcmsr_hbaB_wait_msgint_ready(acb)) { printk(KERN_NOTICE "arcmsr%d: wait 'get adapter firmware \
miscellaneous data' timeout \n", acb->host-Quoted 1 line
host_no);drivers/scsi/arcmsr/arcmsr.h +1
-1-return false; + goto err_free_dma;}
count = 8;
while (count){drivers/scsi/arcmsr/arcmsr.h +0
-0@@ -2707,6 +2723,10 @@ static bool arcmsr_hbaB_get_config(struc
acb->firm_cfg_version= readl(®-Quoted 1 line
message_rwbuffer[25]); /*firm_cfg_version,25,100-103*/
/*firm_ide_channels,4,16-19*/
return true;drivers/scsi/arcmsr/arcmsr.h +4
-0+err_free_dma: +dma_free_coherent (&acb->pdev->dev, acb->roundup_ccbsize, + acb->dma_coherent2, acb->dma_coherent_handle2); +return false;}
static boolarcmsr_hbaC_get_config(struct AdapterControlBlock *pACB)drivers/scsi/arcmsr/arcmsr.h +0
-0@@ -3998,6 +4018,7 @@ static const char *arcmsr_info(struct Sccase
PCI_DEVICE_ID_ARECA_1160:
casePCI_DEVICE_ID_ARECA_1170:
casePCI_DEVICE_ID_ARECA_1201:drivers/scsi/arcmsr/arcmsr.h +1
-0+case PCI_DEVICE_ID_ARECA_1203 :case
PCI_DEVICE_ID_ARECA_1220:
casePCI_DEVICE_ID_ARECA_1230:
casePCI_DEVICE_ID_ARECA_1260:--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 118 lines · Johannes Thumshirn
Quoted 98 lines · Ching Huang
From: Ching Huang <[email protected]>
Support areca new PCIe to SATA RAID adapter ARC1203
Signed-of-by Ching Huang<[email protected]>---
diff -uprN
a/drivers/scsi/arcmsr/arcmsr.hb/drivers/scsi/arcmsr/arcmsr.hdrivers/scsi/arcmsr/arcmsr.h +3
-0@@ -74,6 +74,9 @@ struct device_attribute;#ifndef PCI_DEVICE_ID_ARECA_1214 #define PCI_DEVICE_ID_ARECA_1214 0x1214#endif +#ifndef PCI_DEVICE_ID_ARECA_1203 +#define PCI_DEVICE_ID_ARECA_1203 0x1203 +#endif /* **************************************************************************** ****** **
drivers/scsi/arcmsr/arcmsr.h +6
-0@@ -245,6 +248,12 @@ struct FIRMWARE_INFO/* window of "instruction flags" from iop to driver */ #define ARCMSR_IOP2DRV_DOORBELL 0x00020408#define ARCMSR_IOP2DRV_DOORBELL_MASK 0x0002040C +/* window of "instruction flags" from iop to driver */ +#define ARCMSR_IOP2DRV_DOORBELL_1203 0x00021870 +#define ARCMSR_IOP2DRV_DOORBELL_MASK_1203 0x00021874 +/* window of "instruction flags" from driver to iop */ +#define ARCMSR_DRV2IOP_DOORBELL_1203 0x00021878 +#define ARCMSR_DRV2IOP_DOORBELL_MASK_1203 0x0002187C/* ARECA FLAG LANGUAGE */ /* ioctl transfer */ #define ARCMSR_IOP2DRV_DATA_WRITE_OK 0x00000001diff -uprN
a/drivers/scsi/arcmsr/arcmsr_hba.cb/drivers/scsi/arcmsr/arcmsr_hba.c
---a/drivers/scsi/arcmsr/arcmsr_hba.c2015-11-24 11:35:26.000000000
+0800
+++b/drivers/scsi/arcmsr/arcmsr_hba.c2015-11-24 18:58:40.640226000
+0800drivers/scsi/arcmsr/arcmsr.h +1
-0@@ -114,6 +114,7 @@ static void arcmsr_hardware_reset(structstatic const char *arcmsr_info (struct Scsi_Host *);static irqreturn_t arcmsr_interrupt (struct AdapterControlBlock *acb);static void arcmsr_free_irq (struct pci_dev *,struct AdapterControlBlock *); +static void arcmsr_wait_firmware_ready (struct AdapterControlBlock *acb);static int arcmsr_adjust_disk_queue_depth (struct scsi_device *sdev,int queue_depth) {drivers/scsi/arcmsr/arcmsr.h +3
-5if (queue_depth >ARCMSR_MAX_CMD_PERLUN )@@ -157,6 +158,8 @@ static struct pci_device_id arcmsr_devic .driver_data = ACB_ADAPTER_TYPE_B}, {PCI_DEVICE(PCI_VENDOR_ID_ARECA, PCI_DEVICE_ID_ARECA_1202), .driver_data = ACB_ADAPTER_TYPE_B}, + {PCI_DEVICE(PCI_VENDOR_ID_ARECA, PCI_DEVICE_ID_ARECA_1203), + .driver_data = ACB_ADAPTER_TYPE_B}, {PCI_DEVICE(PCI_VENDOR_ID_ARECA, PCI_DEVICE_ID_ARECA_1210), .driver_data = ACB_ADAPTER_TYPE_A}, {PCI_DEVICE(PCI_VENDOR_ID_ARECA, PCI_DEVICE_ID_ARECA_1214),@@ -2621,7 +2624,7 @@ static bool arcmsr_hbaA_get_config(struc }static bool arcmsr_hbaB_get_config (struct AdapterControlBlock *acb) { -struct MessageUnit_B *reg = acb->pmuB; +struct MessageUnit_B *reg;struct pci_dev *pdev = acb->pdev;void *dma_coherent;dma_addr_t dma_coherent_handle;@@ -2649,10 +2652,17 @@ static bool arcmsr_hbaB_get_config(struc acb->dma_coherent2 = dma_coherent; reg = (struct MessageUnit_B *)dma_coherent; acb->pmuB = reg; - reg->drv2iop_doorbell= (uint32_t __iomem *)((unsigned long )acb- >mem_base0 + ARCMSR_DRV2IOP_DOORBELL); - reg->drv2iop_doorbell_mask = (uint32_t __iomem *)((unsigned long)acb->mem_base0 + ARCMSR_DRV2IOP_DOORBELL_MASK); - reg->iop2drv_doorbell = (uint32_t __iomem *)((unsigned long )acb- >mem_base0 + ARCMSR_IOP2DRV_DOORBELL); - reg->iop2drv_doorbell_mask = (uint32_t __iomem *)((unsignedlong)acb->mem_base0 +
ARCMSR_IOP2DRV_DOORBELL_MASK);drivers/scsi/arcmsr/arcmsr.h +2
-0+if (acb->pdev->device ==PCI_DEVICE_ID_ARECA_1203 ) { + reg->drv2iop_doorbell = (uint32_t __iomem *)((unsignedlong)acb->mem_base0 +
ARCMSR_DRV2IOP_DOORBELL_1203);drivers/scsi/arcmsr/arcmsr.h +1
-0+ reg->drv2iop_doorbell_mask = (uint32_t __iomem *)((unsignedlong)acb->mem_base0 +
ARCMSR_DRV2IOP_DOORBELL_MASK_1203);drivers/scsi/arcmsr/arcmsr.h +1
-0+ reg->iop2drv_doorbell = (uint32_t __iomem *)((unsignedlong)acb->mem_base0 +
ARCMSR_IOP2DRV_DOORBELL_1203);drivers/scsi/arcmsr/arcmsr.h +1
-0+ reg->iop2drv_doorbell_mask = (uint32_t __iomem *)((unsignedlong)acb->mem_base0 +
ARCMSR_IOP2DRV_DOORBELL_MASK_1203);drivers/scsi/arcmsr/arcmsr.h +2
-0+ }else { + reg->drv2iop_doorbell= (uint32_t __iomem *)((unsignedlong)acb->mem_base0 +
ARCMSR_DRV2IOP_DOORBELL);drivers/scsi/arcmsr/arcmsr.h +1
-0+ reg->drv2iop_doorbell_mask = (uint32_t __iomem *)((unsignedlong)acb->mem_base0 +
ARCMSR_DRV2IOP_DOORBELL_MASK);drivers/scsi/arcmsr/arcmsr.h +1
-0+ reg->iop2drv_doorbell = (uint32_t __iomem *)((unsignedlong)acb->mem_base0 +
ARCMSR_IOP2DRV_DOORBELL);drivers/scsi/arcmsr/arcmsr.h +1
-0+ reg->iop2drv_doorbell_mask = (uint32_t __iomem *)((unsignedlong)acb->mem_base0 +
ARCMSR_IOP2DRV_DOORBELL_MASK);drivers/scsi/arcmsr/arcmsr.h
Quoted 1 line
drivers/scsi/arcmsr/arcmsr.h +1
-0+ }This isn't quite readable IMHO. Can't you do:
#define
MEM_BASE0(x)(u32__iomem*)((unsigned long)acb->mem_base0 + (x)) #defineMEM_BASE1(x)(u32__iomem*)((unsigned long)acb->mem_base1 + (x))and then
reg->drv2iop_doorbell=
MEM_BASE0(ARCMSR_DRV2IOP_DOORBELL);reg->drv2iop_doorbell_mask=MEM_BASE0(ARCMSR_DRV2IOP_DOORBELL_MASK);reg->iop2drv_doorbell=MEM_BASE0(ARCMSR_IOP2DRV_DOORBELL);reg->iop2drv_doorbell_mask=MEM_BASE0(ARCMSR_IOP2DRV_DOORBELL_MASK);reg->message_wbuffer=MEM_BASE1(ARCMSR_MESSAGE_WBUFFER);reg->message_rbuffer=MEM_BASE1(ARCMSR_MESSAGE_RBUFFER);reg->message_rwbuffer=MEM_BASE1(ARCMSR_MESSAGE_RWBUFFER);
Quoted 2 lines
(Note this hunk is made without your patch. And not tested)
Thanks Johannes' advice.
I will revise it.
Quoted 56 lines
Quoted 55 lines
reg->message_wbuffer= (uint32_t__iomem*)((unsigned long)acb-Quoted 1 line
mem_base1+ARCMSR_MESSAGE_WBUFFER);
reg->message_rbuffer= (uint32_t__iomem*)((unsigned long)acb-Quoted 1 line
mem_base1+ARCMSR_MESSAGE_RBUFFER);
reg->message_rwbuffer= (uint32_t__iomem*)((unsigned long)acb-Quoted 1 line
mem_base1+ARCMSR_MESSAGE_RWBUFFER);drivers/scsi/arcmsr/arcmsr.h +7
-1@@ -2660,11 +2670,17 @@ static bool arcmsr_hbaB_get_config(struc iop_firm_version = (char __iomem *)(®->message_rwbuffer[17 ]);/*firm_version,17,68-83*/ iop_device_map = (char __iomem *)(®->message_rwbuffer[21 ]);/*firm_version,21,84-99*/ +arcmsr_wait_firmware_ready (acb); +writel (ARCMSR_MESSAGE_START_DRIVER_MODE , reg->drv2iop_doorbell); +if (!arcmsr_hbaB_wait_msgint_ready (acb)) { +printk (KERN_ERR "arcmsr%d: can't set driver mode.\n" , acb- >host->host_no); + goto err_free_dma; + }writel (ARCMSR_MESSAGE_GET_CONFIG , reg->drv2iop_doorbell);if (!arcmsr_hbaB_wait_msgint_ready (acb)) {printk (KERN_NOTICE "arcmsr%d: wait 'get adapter firmware \ miscellaneous data' timeout \n" , acb->host- >host_no); -return false; + goto err_free_dma; } count =8 ;while (count){@@ -2707,6 +2723,10 @@ static bool arcmsr_hbaB_get_config(struc acb->firm_cfg_version = readl(®-Quoted 1 line
message_rwbuffer[25]); /*firm_cfg_version,25,100-103*/
drivers/scsi/arcmsr/arcmsr.h +5
-1/*firm_ide_channels,4,16-19*/ return true; +err_free_dma: +dma_free_coherent (&acb->pdev->dev, acb->roundup_ccbsize, + acb->dma_coherent2, acb->dma_coherent_handle2); +return false; }static bool arcmsr_hbaC_get_config (struct AdapterControlBlock *pACB)@@ -3998,6 +4018,7 @@ static const char *arcmsr_info(struct Sccase PCI_DEVICE_ID_ARECA_1160 :case PCI_DEVICE_ID_ARECA_1170 :case PCI_DEVICE_ID_ARECA_1201 : +case PCI_DEVICE_ID_ARECA_1203 :case PCI_DEVICE_ID_ARECA_1220 :case PCI_DEVICE_ID_ARECA_1230 :case PCI_DEVICE_ID_ARECA_1260 : --To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html