aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/bfa.h
diff options
context:
space:
mode:
authorMaggie Zhang <xmzhang@brocade.com>2010-12-09 22:08:43 -0500
committerJames Bottomley <James.Bottomley@suse.de>2010-12-21 13:32:43 -0500
commitf7f73812e95077c19a2801bbf4f483fcdab5232f (patch)
tree1683aef984bf23a83dc5764503a0972f64ddf5a5 /drivers/scsi/bfa/bfa.h
parentdf0f1933eb5454a5c481311837076056557467ad (diff)
[SCSI] bfa: clean up one line functions
Cleaned up one line functions. Signed-off-by: Maggie Zhang <xmzhang@brocade.com> Signed-off-by: Jing Huang <huangj@brocade.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/bfa.h')
-rw-r--r--drivers/scsi/bfa/bfa.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/scsi/bfa/bfa.h b/drivers/scsi/bfa/bfa.h
index 7ed13ce6d6aa..6231e5aa55b3 100644
--- a/drivers/scsi/bfa/bfa.h
+++ b/drivers/scsi/bfa/bfa.h
@@ -296,7 +296,6 @@ void bfa_iocfc_attach(struct bfa_s *bfa, void *bfad,
296 struct bfa_iocfc_cfg_s *cfg, 296 struct bfa_iocfc_cfg_s *cfg,
297 struct bfa_meminfo_s *meminfo, 297 struct bfa_meminfo_s *meminfo,
298 struct bfa_pcidev_s *pcidev); 298 struct bfa_pcidev_s *pcidev);
299void bfa_iocfc_detach(struct bfa_s *bfa);
300void bfa_iocfc_init(struct bfa_s *bfa); 299void bfa_iocfc_init(struct bfa_s *bfa);
301void bfa_iocfc_start(struct bfa_s *bfa); 300void bfa_iocfc_start(struct bfa_s *bfa);
302void bfa_iocfc_stop(struct bfa_s *bfa); 301void bfa_iocfc_stop(struct bfa_s *bfa);
@@ -385,13 +384,7 @@ void bfa_cfg_get_meminfo(struct bfa_iocfc_cfg_s *cfg,
385void bfa_attach(struct bfa_s *bfa, void *bfad, struct bfa_iocfc_cfg_s *cfg, 384void bfa_attach(struct bfa_s *bfa, void *bfad, struct bfa_iocfc_cfg_s *cfg,
386 struct bfa_meminfo_s *meminfo, 385 struct bfa_meminfo_s *meminfo,
387 struct bfa_pcidev_s *pcidev); 386 struct bfa_pcidev_s *pcidev);
388void bfa_init_trc(struct bfa_s *bfa, struct bfa_trc_mod_s *trcmod);
389void bfa_init_plog(struct bfa_s *bfa, struct bfa_plog_s *plog);
390void bfa_detach(struct bfa_s *bfa); 387void bfa_detach(struct bfa_s *bfa);
391void bfa_init(struct bfa_s *bfa);
392void bfa_start(struct bfa_s *bfa);
393void bfa_stop(struct bfa_s *bfa);
394void bfa_attach_fcs(struct bfa_s *bfa);
395void bfa_cb_init(void *bfad, bfa_status_t status); 388void bfa_cb_init(void *bfad, bfa_status_t status);
396void bfa_cb_updateq(void *bfad, bfa_status_t status); 389void bfa_cb_updateq(void *bfad, bfa_status_t status);
397 390
@@ -405,7 +398,6 @@ void bfa_comp_free(struct bfa_s *bfa, struct list_head *comp_q);
405 398
406typedef void (*bfa_cb_ioc_t) (void *cbarg, enum bfa_status status); 399typedef void (*bfa_cb_ioc_t) (void *cbarg, enum bfa_status status);
407void bfa_iocfc_get_attr(struct bfa_s *bfa, struct bfa_iocfc_attr_s *attr); 400void bfa_iocfc_get_attr(struct bfa_s *bfa, struct bfa_iocfc_attr_s *attr);
408void bfa_get_attr(struct bfa_s *bfa, struct bfa_ioc_attr_s *ioc_attr);
409 401
410 402
411bfa_status_t bfa_iocfc_israttr_set(struct bfa_s *bfa, 403bfa_status_t bfa_iocfc_israttr_set(struct bfa_s *bfa,
@@ -413,16 +405,7 @@ bfa_status_t bfa_iocfc_israttr_set(struct bfa_s *bfa,
413 405
414void bfa_iocfc_enable(struct bfa_s *bfa); 406void bfa_iocfc_enable(struct bfa_s *bfa);
415void bfa_iocfc_disable(struct bfa_s *bfa); 407void bfa_iocfc_disable(struct bfa_s *bfa);
416void bfa_timer_tick(struct bfa_s *bfa);
417#define bfa_timer_start(_bfa, _timer, _timercb, _arg, _timeout) \ 408#define bfa_timer_start(_bfa, _timer, _timercb, _arg, _timeout) \
418 bfa_timer_begin(&(_bfa)->timer_mod, _timer, _timercb, _arg, _timeout) 409 bfa_timer_begin(&(_bfa)->timer_mod, _timer, _timercb, _arg, _timeout)
419 410
420/*
421 * BFA debug API functions
422 */
423bfa_status_t bfa_debug_fwtrc(struct bfa_s *bfa, void *trcdata, int *trclen);
424bfa_status_t bfa_debug_fwsave(struct bfa_s *bfa, void *trcdata, int *trclen);
425bfa_status_t bfa_debug_fwcore(struct bfa_s *bfa, void *buf,
426 u32 *offset, int *buflen);
427
428#endif /* __BFA_H__ */ 411#endif /* __BFA_H__ */