bfad_drv.h (08a17ced7a78064f4f03de7d68b8cd32581f0510) bfad_drv.h (ab2a9ba189e889b3e8990e52e90d2cd9606b2aa1)
1/*
2 * Copyright (c) 2005-2009 Brocade Communications Systems, Inc.
3 * All rights reserved
4 * www.brocade.com
5 *
6 * Linux driver for Brocade Fibre Channel Host Bus Adapter.
7 *
8 * This program is free software; you can redistribute it and/or modify it

--- 97 unchanged lines hidden (view full) ---

106 u32 roles;
107 s32 flags;
108 u32 supported_fc4s;
109 u8 ipfc_flags;
110 enum bfad_port_pvb_type pvb_type;
111 struct bfad_im_port_s *im_port; /* IM specific data */
112 struct bfad_tm_port_s *tm_port; /* TM specific data */
113 struct bfad_ipfc_port_s *ipfc_port; /* IPFC specific data */
1/*
2 * Copyright (c) 2005-2009 Brocade Communications Systems, Inc.
3 * All rights reserved
4 * www.brocade.com
5 *
6 * Linux driver for Brocade Fibre Channel Host Bus Adapter.
7 *
8 * This program is free software; you can redistribute it and/or modify it

--- 97 unchanged lines hidden (view full) ---

106 u32 roles;
107 s32 flags;
108 u32 supported_fc4s;
109 u8 ipfc_flags;
110 enum bfad_port_pvb_type pvb_type;
111 struct bfad_im_port_s *im_port; /* IM specific data */
112 struct bfad_tm_port_s *tm_port; /* TM specific data */
113 struct bfad_ipfc_port_s *ipfc_port; /* IPFC specific data */
114
115 /* port debugfs specific data */
116 struct dentry *port_debugfs_root;
114};
115
116/*
117 * VPORT data structure
118 */
119struct bfad_vport_s {
120 struct bfad_port_s drv_port;
121 struct bfa_fcs_vport_s fcs_vport;

--- 59 unchanged lines hidden (view full) ---

181 struct bfa_aen_s aen_buf;
182 void *file_map[BFA_AEN_MAX_APP];
183 struct bfa_plog_s plog_buf;
184 int ref_count;
185 bfa_boolean_t ipfc_enabled;
186 struct fc_host_statistics link_stats;
187 struct list_head pbc_pcfg_list;
188 atomic_t wq_reqcnt;
117};
118
119/*
120 * VPORT data structure
121 */
122struct bfad_vport_s {
123 struct bfad_port_s drv_port;
124 struct bfa_fcs_vport_s fcs_vport;

--- 59 unchanged lines hidden (view full) ---

184 struct bfa_aen_s aen_buf;
185 void *file_map[BFA_AEN_MAX_APP];
186 struct bfa_plog_s plog_buf;
187 int ref_count;
188 bfa_boolean_t ipfc_enabled;
189 struct fc_host_statistics link_stats;
190 struct list_head pbc_pcfg_list;
191 atomic_t wq_reqcnt;
192 /* debugfs specific data */
193 char *regdata;
194 u32 reglen;
195 struct dentry *bfad_dentry_files[5];
189};
190
191struct bfad_pcfg_s {
192 struct list_head list_entry;
193 struct bfa_port_cfg_s port_cfg;
194};
195
196/*

--- 74 unchanged lines hidden (view full) ---

271void bfad_init_timer(struct bfad_s *bfad);
272int bfad_pci_init(struct pci_dev *pdev, struct bfad_s *bfad);
273void bfad_pci_uninit(struct pci_dev *pdev, struct bfad_s *bfad);
274void bfad_fcs_port_cfg(struct bfad_s *bfad);
275void bfad_drv_uninit(struct bfad_s *bfad);
276void bfad_drv_log_level_set(struct bfad_s *bfad);
277bfa_status_t bfad_fc4_module_init(void);
278void bfad_fc4_module_exit(void);
196};
197
198struct bfad_pcfg_s {
199 struct list_head list_entry;
200 struct bfa_port_cfg_s port_cfg;
201};
202
203/*

--- 74 unchanged lines hidden (view full) ---

278void bfad_init_timer(struct bfad_s *bfad);
279int bfad_pci_init(struct pci_dev *pdev, struct bfad_s *bfad);
280void bfad_pci_uninit(struct pci_dev *pdev, struct bfad_s *bfad);
281void bfad_fcs_port_cfg(struct bfad_s *bfad);
282void bfad_drv_uninit(struct bfad_s *bfad);
283void bfad_drv_log_level_set(struct bfad_s *bfad);
284bfa_status_t bfad_fc4_module_init(void);
285void bfad_fc4_module_exit(void);
279int bfad_worker (void *ptr);
286int bfad_worker(void *ptr);
287void bfad_debugfs_init(struct bfad_port_s *port);
288void bfad_debugfs_exit(struct bfad_port_s *port);
280
281void bfad_pci_remove(struct pci_dev *pdev);
282int bfad_pci_probe(struct pci_dev *pdev, const struct pci_device_id *pid);
283void bfad_os_rport_online_wait(struct bfad_s *bfad);
284int bfad_os_get_linkup_delay(struct bfad_s *bfad);
285int bfad_install_msix_handler(struct bfad_s *bfad);
286
287extern struct idr bfad_im_port_index;
288extern struct list_head bfad_list;
289extern int bfa_lun_queue_depth;
290extern int bfad_supported_fc4s;
291extern int bfa_linkup_delay;
289
290void bfad_pci_remove(struct pci_dev *pdev);
291int bfad_pci_probe(struct pci_dev *pdev, const struct pci_device_id *pid);
292void bfad_os_rport_online_wait(struct bfad_s *bfad);
293int bfad_os_get_linkup_delay(struct bfad_s *bfad);
294int bfad_install_msix_handler(struct bfad_s *bfad);
295
296extern struct idr bfad_im_port_index;
297extern struct list_head bfad_list;
298extern int bfa_lun_queue_depth;
299extern int bfad_supported_fc4s;
300extern int bfa_linkup_delay;
301extern int bfa_debugfs_enable;
292extern struct mutex bfad_mutex;
293
294#endif /* __BFAD_DRV_H__ */
302extern struct mutex bfad_mutex;
303
304#endif /* __BFAD_DRV_H__ */