]> Pileus Git - ~andy/linux/blob - drivers/scsi/bfa/bfad_attr.h
SCSI: remove fake "address-of" expression
[~andy/linux] / drivers / scsi / bfa / bfad_attr.h
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
25 struct Scsi_Host*
26 bfad_os_dev_to_shost(struct scsi_target *starget);
27
28 /**
29  * FC transport template entry, get SCSI target port ID.
30  */
31 void
32 bfad_im_get_starget_port_id(struct scsi_target *starget);
33
34 /**
35  * FC transport template entry, get SCSI target nwwn.
36  */
37 void
38 bfad_im_get_starget_node_name(struct scsi_target *starget);
39
40 /**
41  * FC transport template entry, get SCSI target pwwn.
42  */
43 void
44 bfad_im_get_starget_port_name(struct scsi_target *starget);
45
46 /**
47  * FC transport template entry, get SCSI host port ID.
48  */
49 void
50 bfad_im_get_host_port_id(struct Scsi_Host *shost);
51
52 struct Scsi_Host*
53 bfad_os_starget_to_shost(struct scsi_target *starget);
54
55
56 #endif /*  __BFAD_ATTR_H__ */