diff options
author | Vikas Chaudhary <vikas.chaudhary@qlogic.com> | 2011-07-25 14:48:41 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-08-27 10:36:02 -0400 |
commit | ed1086e041b4870313dd0c0755f4bbc3b62d0d08 (patch) | |
tree | 255b9e0a5dc611246dbbc4322b1b571533f4d8b6 /drivers/scsi/qla4xxx/ql4_def.h | |
parent | 8d07913dbe79568eafe5bb73806a08aac294d4e6 (diff) |
[SCSI] qla4xxx: added support to show multiple iface in sysfs
Add support for default ipv4 and ipv6 ifaces in qla4xxx.
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Lalit Chandivade <lalit.chandivade@qlogic.com>
Reviewed-by: Harish Zunjarrao <harish.zunjarrao@qlogic.com>
[make iface creation dynamic]
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_def.h')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_def.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_def.h b/drivers/scsi/qla4xxx/ql4_def.h index 015d0a18bf8a..12db99280e04 100644 --- a/drivers/scsi/qla4xxx/ql4_def.h +++ b/drivers/scsi/qla4xxx/ql4_def.h | |||
@@ -588,6 +588,9 @@ struct scsi_qla_host { | |||
588 | struct completion mbx_intr_comp; | 588 | struct completion mbx_intr_comp; |
589 | 589 | ||
590 | struct ipaddress_config ip_config; | 590 | struct ipaddress_config ip_config; |
591 | struct iscsi_iface *iface_ipv4; | ||
592 | struct iscsi_iface *iface_ipv6_0; | ||
593 | struct iscsi_iface *iface_ipv6_1; | ||
591 | 594 | ||
592 | /* --- From About Firmware --- */ | 595 | /* --- From About Firmware --- */ |
593 | uint16_t iscsi_major; | 596 | uint16_t iscsi_major; |