Skip to content

Commit 5961e20

Browse files
ching HuangSasha Levin
authored andcommitted
scsi: arcmsr: Support new PCI device IDs 1883 and 1886
[ Upstream commit 41c8a1a ] Add support for Areca RAID controllers with PCI device IDs 1883 and 1886. Signed-off-by: ching Huang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 422a5de commit 5961e20

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

drivers/scsi/arcmsr/arcmsr.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,13 @@ struct device_attribute;
7878
#ifndef PCI_DEVICE_ID_ARECA_1203
7979
#define PCI_DEVICE_ID_ARECA_1203 0x1203
8080
#endif
81+
#ifndef PCI_DEVICE_ID_ARECA_1883
82+
#define PCI_DEVICE_ID_ARECA_1883 0x1883
83+
#endif
8184
#ifndef PCI_DEVICE_ID_ARECA_1884
8285
#define PCI_DEVICE_ID_ARECA_1884 0x1884
8386
#endif
87+
#define PCI_DEVICE_ID_ARECA_1886_0 0x1886
8488
#define PCI_DEVICE_ID_ARECA_1886 0x188A
8589
#define ARCMSR_HOURS (1000 * 60 * 60 * 4)
8690
#define ARCMSR_MINUTES (1000 * 60 * 60)

drivers/scsi/arcmsr/arcmsr_hba.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,12 @@ static struct pci_device_id arcmsr_device_id_table[] = {
214214
.driver_data = ACB_ADAPTER_TYPE_A},
215215
{PCI_DEVICE(PCI_VENDOR_ID_ARECA, PCI_DEVICE_ID_ARECA_1880),
216216
.driver_data = ACB_ADAPTER_TYPE_C},
217+
{PCI_DEVICE(PCI_VENDOR_ID_ARECA, PCI_DEVICE_ID_ARECA_1883),
218+
.driver_data = ACB_ADAPTER_TYPE_C},
217219
{PCI_DEVICE(PCI_VENDOR_ID_ARECA, PCI_DEVICE_ID_ARECA_1884),
218220
.driver_data = ACB_ADAPTER_TYPE_E},
221+
{PCI_DEVICE(PCI_VENDOR_ID_ARECA, PCI_DEVICE_ID_ARECA_1886_0),
222+
.driver_data = ACB_ADAPTER_TYPE_F},
219223
{PCI_DEVICE(PCI_VENDOR_ID_ARECA, PCI_DEVICE_ID_ARECA_1886),
220224
.driver_data = ACB_ADAPTER_TYPE_F},
221225
{0, 0}, /* Terminating entry */
@@ -4706,9 +4710,11 @@ static const char *arcmsr_info(struct Scsi_Host *host)
47064710
case PCI_DEVICE_ID_ARECA_1680:
47074711
case PCI_DEVICE_ID_ARECA_1681:
47084712
case PCI_DEVICE_ID_ARECA_1880:
4713+
case PCI_DEVICE_ID_ARECA_1883:
47094714
case PCI_DEVICE_ID_ARECA_1884:
47104715
type = "SAS/SATA";
47114716
break;
4717+
case PCI_DEVICE_ID_ARECA_1886_0:
47124718
case PCI_DEVICE_ID_ARECA_1886:
47134719
type = "NVMe/SAS/SATA";
47144720
break;

0 commit comments

Comments
 (0)