diff options
author | David C Somayajulu <david.somayajulu@qlogic.com> | 2006-11-15 20:38:40 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-11-22 13:14:04 -0500 |
commit | d915058f48745c0d5c4582566e5aa63867264f81 (patch) | |
tree | edd78540aa84440dbbf438968a3be6303f81a33d /drivers/scsi/qla4xxx/ql4_nvram.c | |
parent | 0bd2af46839ad6262d25714a6ec0365db9d6b98f (diff) |
[SCSI] qla4xxx: add support for qla4032
This patch provides the following:
1. adds support for the next version of Qlogic's iSCSI HBA, qla4032
(PCI Device ID 4032).
2. removes dead code related to topcat chip and renames
qla4010_soft_reset to qla4xxx_soft_reset (minor changes).
Signed-off-by: David Somayajulu <david.somayajulu@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_nvram.c')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_nvram.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_nvram.c b/drivers/scsi/qla4xxx/ql4_nvram.c index e3957ca5b645..fc5020395407 100644 --- a/drivers/scsi/qla4xxx/ql4_nvram.c +++ b/drivers/scsi/qla4xxx/ql4_nvram.c | |||
@@ -9,13 +9,13 @@ | |||
9 | 9 | ||
10 | static inline int eeprom_size(struct scsi_qla_host *ha) | 10 | static inline int eeprom_size(struct scsi_qla_host *ha) |
11 | { | 11 | { |
12 | return is_qla4022(ha) ? FM93C86A_SIZE_16 : FM93C66A_SIZE_16; | 12 | return is_qla4010(ha) ? FM93C66A_SIZE_16 : FM93C86A_SIZE_16; |
13 | } | 13 | } |
14 | 14 | ||
15 | static inline int eeprom_no_addr_bits(struct scsi_qla_host *ha) | 15 | static inline int eeprom_no_addr_bits(struct scsi_qla_host *ha) |
16 | { | 16 | { |
17 | return is_qla4022(ha) ? FM93C86A_NO_ADDR_BITS_16 : | 17 | return is_qla4010(ha) ? FM93C56A_NO_ADDR_BITS_16 : |
18 | FM93C56A_NO_ADDR_BITS_16; | 18 | FM93C86A_NO_ADDR_BITS_16 ; |
19 | } | 19 | } |
20 | 20 | ||
21 | static inline int eeprom_no_data_bits(struct scsi_qla_host *ha) | 21 | static inline int eeprom_no_data_bits(struct scsi_qla_host *ha) |