• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/scsi/bfa/
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
9 * under the terms of the GNU General Public License (GPL) Version 2 as
10 * published by the Free Software Foundation
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15 * General Public License for more details.
16 */
17
18#ifndef __BFAD_ATTR_H__
19#define __BFAD_ATTR_H__
20
21/**
22 *  FC_transport_template FC transport template
23 */
24
25struct Scsi_Host*
26bfad_os_dev_to_shost(struct scsi_target *starget);
27
28/**
29 * FC transport template entry, get SCSI target port ID.
30 */
31void
32bfad_im_get_starget_port_id(struct scsi_target *starget);
33
34/**
35 * FC transport template entry, get SCSI target nwwn.
36 */
37void
38bfad_im_get_starget_node_name(struct scsi_target *starget);
39
40/**
41 * FC transport template entry, get SCSI target pwwn.
42 */
43void
44bfad_im_get_starget_port_name(struct scsi_target *starget);
45
46/**
47 * FC transport template entry, get SCSI host port ID.
48 */
49void
50bfad_im_get_host_port_id(struct Scsi_Host *shost);
51
52struct Scsi_Host*
53bfad_os_starget_to_shost(struct scsi_target *starget);
54
55
56#endif /*  __BFAD_ATTR_H__ */
57