diff options
author | brking@us.ibm.com <brking@us.ibm.com> | 2005-11-01 18:02:42 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-11-06 14:12:10 -0500 |
commit | 86f51436dd851e1b8f33348be8a3d69f4f0e5e10 (patch) | |
tree | d9b559f9fc6225729820c0ea59f7915df48ee5ab /drivers/scsi | |
parent | 618ec46bda603559c52bb24885af0840b3d93027 (diff) |
[SCSI] ipr: New PCI Ids
Adds support for some new ipr adapters
Signed-off-by: Brian King <brking@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/ipr.c | 22 | ||||
-rw-r--r-- | drivers/scsi/ipr.h | 4 |
2 files changed, 25 insertions, 1 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index 133106f6cb00..8d364f232877 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c | |||
@@ -98,7 +98,7 @@ static DEFINE_SPINLOCK(ipr_driver_lock); | |||
98 | 98 | ||
99 | /* This table describes the differences between DMA controller chips */ | 99 | /* This table describes the differences between DMA controller chips */ |
100 | static const struct ipr_chip_cfg_t ipr_chip_cfg[] = { | 100 | static const struct ipr_chip_cfg_t ipr_chip_cfg[] = { |
101 | { /* Gemstone and Citrine */ | 101 | { /* Gemstone, Citrine, and Obsidian */ |
102 | .mailbox = 0x0042C, | 102 | .mailbox = 0x0042C, |
103 | .cache_line_size = 0x20, | 103 | .cache_line_size = 0x20, |
104 | { | 104 | { |
@@ -133,6 +133,8 @@ static const struct ipr_chip_cfg_t ipr_chip_cfg[] = { | |||
133 | static const struct ipr_chip_t ipr_chip[] = { | 133 | static const struct ipr_chip_t ipr_chip[] = { |
134 | { PCI_VENDOR_ID_MYLEX, PCI_DEVICE_ID_IBM_GEMSTONE, &ipr_chip_cfg[0] }, | 134 | { PCI_VENDOR_ID_MYLEX, PCI_DEVICE_ID_IBM_GEMSTONE, &ipr_chip_cfg[0] }, |
135 | { PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_CITRINE, &ipr_chip_cfg[0] }, | 135 | { PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_CITRINE, &ipr_chip_cfg[0] }, |
136 | { PCI_VENDOR_ID_ADAPTEC2, PCI_DEVICE_ID_ADAPTEC2_OBSIDIAN, &ipr_chip_cfg[0] }, | ||
137 | { PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_OBSIDIAN, &ipr_chip_cfg[0] }, | ||
136 | { PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_SNIPE, &ipr_chip_cfg[1] }, | 138 | { PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_SNIPE, &ipr_chip_cfg[1] }, |
137 | { PCI_VENDOR_ID_ADAPTEC2, PCI_DEVICE_ID_ADAPTEC2_SCAMP, &ipr_chip_cfg[1] } | 139 | { PCI_VENDOR_ID_ADAPTEC2, PCI_DEVICE_ID_ADAPTEC2_SCAMP, &ipr_chip_cfg[1] } |
138 | }; | 140 | }; |
@@ -6554,12 +6556,30 @@ static struct pci_device_id ipr_pci_table[] __devinitdata = { | |||
6554 | { PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_CITRINE, | 6556 | { PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_CITRINE, |
6555 | PCI_VENDOR_ID_IBM, IPR_SUBS_DEV_ID_571A, | 6557 | PCI_VENDOR_ID_IBM, IPR_SUBS_DEV_ID_571A, |
6556 | 0, 0, (kernel_ulong_t)&ipr_chip_cfg[0] }, | 6558 | 0, 0, (kernel_ulong_t)&ipr_chip_cfg[0] }, |
6559 | { PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_CITRINE, | ||
6560 | PCI_VENDOR_ID_IBM, IPR_SUBS_DEV_ID_575B, | ||
6561 | 0, 0, (kernel_ulong_t)&ipr_chip_cfg[0] }, | ||
6562 | { PCI_VENDOR_ID_ADAPTEC2, PCI_DEVICE_ID_ADAPTEC2_OBSIDIAN, | ||
6563 | PCI_VENDOR_ID_IBM, IPR_SUBS_DEV_ID_572A, | ||
6564 | 0, 0, (kernel_ulong_t)&ipr_chip_cfg[0] }, | ||
6565 | { PCI_VENDOR_ID_ADAPTEC2, PCI_DEVICE_ID_ADAPTEC2_OBSIDIAN, | ||
6566 | PCI_VENDOR_ID_IBM, IPR_SUBS_DEV_ID_572B, | ||
6567 | 0, 0, (kernel_ulong_t)&ipr_chip_cfg[0] }, | ||
6568 | { PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_OBSIDIAN, | ||
6569 | PCI_VENDOR_ID_IBM, IPR_SUBS_DEV_ID_572A, | ||
6570 | 0, 0, (kernel_ulong_t)&ipr_chip_cfg[0] }, | ||
6571 | { PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_OBSIDIAN, | ||
6572 | PCI_VENDOR_ID_IBM, IPR_SUBS_DEV_ID_572B, | ||
6573 | 0, 0, (kernel_ulong_t)&ipr_chip_cfg[0] }, | ||
6557 | { PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_SNIPE, | 6574 | { PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_SNIPE, |
6558 | PCI_VENDOR_ID_IBM, IPR_SUBS_DEV_ID_2780, | 6575 | PCI_VENDOR_ID_IBM, IPR_SUBS_DEV_ID_2780, |
6559 | 0, 0, (kernel_ulong_t)&ipr_chip_cfg[1] }, | 6576 | 0, 0, (kernel_ulong_t)&ipr_chip_cfg[1] }, |
6560 | { PCI_VENDOR_ID_ADAPTEC2, PCI_DEVICE_ID_ADAPTEC2_SCAMP, | 6577 | { PCI_VENDOR_ID_ADAPTEC2, PCI_DEVICE_ID_ADAPTEC2_SCAMP, |
6561 | PCI_VENDOR_ID_IBM, IPR_SUBS_DEV_ID_571E, | 6578 | PCI_VENDOR_ID_IBM, IPR_SUBS_DEV_ID_571E, |
6562 | 0, 0, (kernel_ulong_t)&ipr_chip_cfg[1] }, | 6579 | 0, 0, (kernel_ulong_t)&ipr_chip_cfg[1] }, |
6580 | { PCI_VENDOR_ID_ADAPTEC2, PCI_DEVICE_ID_ADAPTEC2_SCAMP, | ||
6581 | PCI_VENDOR_ID_IBM, IPR_SUBS_DEV_ID_571F, | ||
6582 | 0, 0, (kernel_ulong_t)&ipr_chip_cfg[1] }, | ||
6563 | { } | 6583 | { } |
6564 | }; | 6584 | }; |
6565 | MODULE_DEVICE_TABLE(pci, ipr_pci_table); | 6585 | MODULE_DEVICE_TABLE(pci, ipr_pci_table); |
diff --git a/drivers/scsi/ipr.h b/drivers/scsi/ipr.h index c9cc40e5db24..cdd0f4bdb98c 100644 --- a/drivers/scsi/ipr.h +++ b/drivers/scsi/ipr.h | |||
@@ -61,6 +61,10 @@ | |||
61 | #define IPR_SUBS_DEV_ID_571A 0x02C0 | 61 | #define IPR_SUBS_DEV_ID_571A 0x02C0 |
62 | #define IPR_SUBS_DEV_ID_571B 0x02BE | 62 | #define IPR_SUBS_DEV_ID_571B 0x02BE |
63 | #define IPR_SUBS_DEV_ID_571E 0x02BF | 63 | #define IPR_SUBS_DEV_ID_571E 0x02BF |
64 | #define IPR_SUBS_DEV_ID_571F 0x02D5 | ||
65 | #define IPR_SUBS_DEV_ID_572A 0x02C1 | ||
66 | #define IPR_SUBS_DEV_ID_572B 0x02C2 | ||
67 | #define IPR_SUBS_DEV_ID_575B 0x030D | ||
64 | 68 | ||
65 | #define IPR_NAME "ipr" | 69 | #define IPR_NAME "ipr" |
66 | 70 | ||