]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/scsi/bfa/bfad_drv.h
[SCSI] bfa: statistics and typo fix
[mv-sheeva.git] / drivers / scsi / bfa / bfad_drv.h
index 6c920c1b53a4dcde5403faa3739bbe0b178492fc..8629f64a52871486ec88c51509dc9cf9af0e5d72 100644 (file)
@@ -120,6 +120,8 @@ struct bfad_vport_s {
        struct bfad_port_s     drv_port;
        struct bfa_fcs_vport_s fcs_vport;
        struct completion *comp_del;
+       struct list_head list_entry;
+       struct bfa_port_cfg_s port_cfg;
 };
 
 /*
@@ -139,18 +141,6 @@ struct bfad_cfg_param_s {
        u32        binding_method;
 };
 
-union bfad_tmp_buf {
-       /* From struct bfa_adapter_attr_s */
-       char            manufacturer[BFA_ADAPTER_MFG_NAME_LEN];
-       char            serial_num[BFA_ADAPTER_SERIAL_NUM_LEN];
-       char            model[BFA_ADAPTER_MODEL_NAME_LEN];
-       char            fw_ver[BFA_VERSION_LEN];
-       char            optrom_ver[BFA_VERSION_LEN];
-
-       /* From struct bfa_ioc_pci_attr_s */
-       u8         chip_rev[BFA_IOC_CHIP_REV_LEN];  /*  chip revision */
-};
-
 /*
  * BFAD (PCI function) data structure
  */
@@ -193,8 +183,13 @@ struct bfad_s {
        struct bfa_plog_s      plog_buf;
        int             ref_count;
        bfa_boolean_t   ipfc_enabled;
-       union bfad_tmp_buf tmp_buf;
        struct fc_host_statistics link_stats;
+       struct list_head pbc_pcfg_list;
+};
+
+struct bfad_pcfg_s {
+       struct list_head list_entry;
+       struct bfa_port_cfg_s port_cfg;
 };
 
 /*