diff options
Diffstat (limited to 'drivers/scsi/bfa/bfad_drv.h')
-rw-r--r-- | drivers/scsi/bfa/bfad_drv.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/drivers/scsi/bfa/bfad_drv.h b/drivers/scsi/bfa/bfad_drv.h index 172c81e25c1..9fa801a5025 100644 --- a/drivers/scsi/bfa/bfad_drv.h +++ b/drivers/scsi/bfa/bfad_drv.h | |||
@@ -62,7 +62,9 @@ | |||
62 | #define BFAD_HAL_START_DONE 0x00000010 | 62 | #define BFAD_HAL_START_DONE 0x00000010 |
63 | #define BFAD_PORT_ONLINE 0x00000020 | 63 | #define BFAD_PORT_ONLINE 0x00000020 |
64 | #define BFAD_RPORT_ONLINE 0x00000040 | 64 | #define BFAD_RPORT_ONLINE 0x00000040 |
65 | 65 | #define BFAD_FCS_INIT_DONE 0x00000080 | |
66 | #define BFAD_HAL_INIT_FAIL 0x00000100 | ||
67 | #define BFAD_FC4_PROBE_DONE 0x00000200 | ||
66 | #define BFAD_PORT_DELETE 0x00000001 | 68 | #define BFAD_PORT_DELETE 0x00000001 |
67 | 69 | ||
68 | /* | 70 | /* |
@@ -168,6 +170,7 @@ struct bfad_s { | |||
168 | u32 inst_no; /* BFAD instance number */ | 170 | u32 inst_no; /* BFAD instance number */ |
169 | u32 bfad_flags; | 171 | u32 bfad_flags; |
170 | spinlock_t bfad_lock; | 172 | spinlock_t bfad_lock; |
173 | struct task_struct *bfad_tsk; | ||
171 | struct bfad_cfg_param_s cfg_data; | 174 | struct bfad_cfg_param_s cfg_data; |
172 | struct bfad_msix_s msix_tab[MAX_MSIX_ENTRY]; | 175 | struct bfad_msix_s msix_tab[MAX_MSIX_ENTRY]; |
173 | int nvec; | 176 | int nvec; |
@@ -258,6 +261,7 @@ bfa_status_t bfad_vf_create(struct bfad_s *bfad, u16 vf_id, | |||
258 | struct bfa_port_cfg_s *port_cfg); | 261 | struct bfa_port_cfg_s *port_cfg); |
259 | bfa_status_t bfad_cfg_pport(struct bfad_s *bfad, enum bfa_port_role role); | 262 | bfa_status_t bfad_cfg_pport(struct bfad_s *bfad, enum bfa_port_role role); |
260 | bfa_status_t bfad_drv_init(struct bfad_s *bfad); | 263 | bfa_status_t bfad_drv_init(struct bfad_s *bfad); |
264 | bfa_status_t bfad_start_ops(struct bfad_s *bfad); | ||
261 | void bfad_drv_start(struct bfad_s *bfad); | 265 | void bfad_drv_start(struct bfad_s *bfad); |
262 | void bfad_uncfg_pport(struct bfad_s *bfad); | 266 | void bfad_uncfg_pport(struct bfad_s *bfad); |
263 | void bfad_drv_stop(struct bfad_s *bfad); | 267 | void bfad_drv_stop(struct bfad_s *bfad); |
@@ -280,6 +284,12 @@ void bfad_drv_log_level_set(struct bfad_s *bfad); | |||
280 | bfa_status_t bfad_fc4_module_init(void); | 284 | bfa_status_t bfad_fc4_module_init(void); |
281 | void bfad_fc4_module_exit(void); | 285 | void bfad_fc4_module_exit(void); |
282 | 286 | ||
287 | bfa_status_t bfad_os_kthread_create(struct bfad_s *bfad); | ||
288 | void bfad_os_kthread_stop(struct bfad_s *bfad); | ||
289 | void bfad_os_kthread_wakeup(struct bfad_s *bfad); | ||
290 | int bfad_os_kthread_should_stop(void); | ||
291 | int bfad_worker (void *ptr); | ||
292 | |||
283 | void bfad_pci_remove(struct pci_dev *pdev); | 293 | void bfad_pci_remove(struct pci_dev *pdev); |
284 | int bfad_pci_probe(struct pci_dev *pdev, const struct pci_device_id *pid); | 294 | int bfad_pci_probe(struct pci_dev *pdev, const struct pci_device_id *pid); |
285 | void bfad_os_rport_online_wait(struct bfad_s *bfad); | 295 | void bfad_os_rport_online_wait(struct bfad_s *bfad); |