~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/scsi/lpfc/lpfc_crtn.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*******************************************************************
2
2
 * This file is part of the Emulex Linux Device Driver for         *
3
3
 * Fibre Channel Host Bus Adapters.                                *
4
 
 * Copyright (C) 2004-2010 Emulex.  All rights reserved.           *
 
4
 * Copyright (C) 2004-2011 Emulex.  All rights reserved.           *
5
5
 * EMULEX and SLI are trademarks of Emulex.                        *
6
6
 * www.emulex.com                                                  *
7
7
 *                                                                 *
53
53
void lpfc_init_link(struct lpfc_hba *, LPFC_MBOXQ_t *, uint32_t, uint32_t);
54
54
void lpfc_request_features(struct lpfc_hba *, struct lpfcMboxq *);
55
55
void lpfc_supported_pages(struct lpfcMboxq *);
56
 
void lpfc_sli4_params(struct lpfcMboxq *);
 
56
void lpfc_pc_sli4_params(struct lpfcMboxq *);
57
57
int lpfc_pc_sli4_params_get(struct lpfc_hba *, LPFC_MBOXQ_t *);
58
 
 
 
58
int lpfc_sli4_mbox_rsrc_extent(struct lpfc_hba *, struct lpfcMboxq *,
 
59
                           uint16_t, uint16_t, bool);
 
60
int lpfc_get_sli4_parameters(struct lpfc_hba *, LPFC_MBOXQ_t *);
59
61
struct lpfc_vport *lpfc_find_vport_by_did(struct lpfc_hba *, uint32_t);
60
62
void lpfc_cleanup_rcv_buffers(struct lpfc_vport *);
61
63
void lpfc_rcv_seq_check_edtov(struct lpfc_vport *);
167
169
int lpfc_fdmi_cmd(struct lpfc_vport *, struct lpfc_nodelist *, int);
168
170
void lpfc_fdmi_tmo(unsigned long);
169
171
void lpfc_fdmi_timeout_handler(struct lpfc_vport *);
 
172
void lpfc_delayed_disc_tmo(unsigned long);
 
173
void lpfc_delayed_disc_timeout_handler(struct lpfc_vport *);
170
174
 
171
175
int lpfc_config_port_prep(struct lpfc_hba *);
 
176
void lpfc_update_vport_wwn(struct lpfc_vport *vport);
172
177
int lpfc_config_port_post(struct lpfc_hba *);
173
178
int lpfc_hba_down_prep(struct lpfc_hba *);
174
179
int lpfc_hba_down_post(struct lpfc_hba *);
252
257
void lpfc_sli_cancel_iocbs(struct lpfc_hba *, struct list_head *, uint32_t,
253
258
                           uint32_t);
254
259
void lpfc_sli_wake_mbox_wait(struct lpfc_hba *, LPFC_MBOXQ_t *);
255
 
 
256
 
void lpfc_reset_barrier(struct lpfc_hba * phba);
 
260
int lpfc_selective_reset(struct lpfc_hba *);
 
261
void lpfc_reset_barrier(struct lpfc_hba *);
257
262
int lpfc_sli_brdready(struct lpfc_hba *, uint32_t);
258
263
int lpfc_sli_brdkill(struct lpfc_hba *);
259
264
int lpfc_sli_brdreset(struct lpfc_hba *);
341
346
extern struct fc_function_template lpfc_vport_transport_functions;
342
347
extern int lpfc_sli_mode;
343
348
extern int lpfc_enable_npiv;
 
349
extern int lpfc_delay_discovery;
344
350
 
345
351
int  lpfc_vport_symbolic_node_name(struct lpfc_vport *, char *, size_t);
346
352
int  lpfc_vport_symbolic_port_name(struct lpfc_vport *, char *, size_t);
362
368
        uint32_t, uint32_t);
363
369
extern struct lpfc_hbq_init *lpfc_hbq_defs[];
364
370
 
 
371
/* SLI4 if_type 2 externs. */
 
372
int lpfc_sli4_alloc_resource_identifiers(struct lpfc_hba *);
 
373
int lpfc_sli4_dealloc_resource_identifiers(struct lpfc_hba *);
 
374
 
365
375
/* externs BlockGuard */
366
376
extern char *_dump_buf_data;
367
377
extern unsigned long _dump_buf_data_order;
423
433
int lpfc_set_rrq_active(struct lpfc_hba *, struct lpfc_nodelist *,
424
434
        uint16_t, uint16_t, uint16_t);
425
435
void lpfc_cleanup_wt_rrqs(struct lpfc_hba *);
426
 
void lpfc_cleanup_vports_rrqs(struct lpfc_vport *);
 
436
void lpfc_cleanup_vports_rrqs(struct lpfc_vport *, struct lpfc_nodelist *);
427
437
struct lpfc_node_rrq *lpfc_get_active_rrq(struct lpfc_vport *, uint16_t,
428
438
        uint32_t);
 
439
int lpfc_wr_object(struct lpfc_hba *, struct list_head *, uint32_t, uint32_t *);
 
440
/* functions to support SR-IOV */
 
441
int lpfc_sli_probe_sriov_nr_virtfn(struct lpfc_hba *, int);