]> bbs.cooldavid.org Git - net-next-2.6.git/commit
[SCSI] qla2xxx: Refactor qla data structures
authorAnirban Chakraborty <anirban.chakraborty@qlogic.com>
Thu, 6 Nov 2008 18:40:19 +0000 (10:40 -0800)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 29 Dec 2008 17:24:15 +0000 (11:24 -0600)
commit7b867cf76fbcc8d77867cbec6f509f71dce8a98f
treeef5fcc1e21701ed1baa1b131c7c29f29cd41d5d6
parenta9b589d90e3d7748dae459031c2d912cd9e83c88
[SCSI] qla2xxx: Refactor qla data structures

Following changes have been made to the qla2xxx FC driver in
preparation for the multi- queue and future SR IOV hardware.

1. scsi_qla_host structure has been changed to contain scsi host
   specific data only.

2. A new structure, qla_hw_data is created to contain HBA specific
   hardware data.

3. Request and response IO specific data strucures are created.

4. The global list of fcports for the hba is not maintained anymore,
   instead a fcport list is construted on per scsi_qla_host.

Signed-of-by: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/qla2xxx/qla_attr.c
drivers/scsi/qla2xxx/qla_dbg.c
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_dfs.c
drivers/scsi/qla2xxx/qla_gbl.h
drivers/scsi/qla2xxx/qla_gs.c
drivers/scsi/qla2xxx/qla_mbx.c
drivers/scsi/qla2xxx/qla_mid.c
drivers/scsi/qla2xxx/qla_sup.c