GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / drivers / scsi / bfa / bfad_attr.h
blobbf0102076508f3636f5ff35c64a470ee1bb36a9b
1 /*
2 * Copyright (c) 2005-2009 Brocade Communications Systems, Inc.
3 * All rights reserved
4 * www.brocade.com
6 * Linux driver for Brocade Fibre Channel Host Bus Adapter.
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
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.
18 #ifndef __BFAD_ATTR_H__
19 #define __BFAD_ATTR_H__
21 /**
22 * FC_transport_template FC transport template
25 struct Scsi_Host*
26 bfad_os_dev_to_shost(struct scsi_target *starget);
28 /**
29 * FC transport template entry, get SCSI target port ID.
31 void
32 bfad_im_get_starget_port_id(struct scsi_target *starget);
34 /**
35 * FC transport template entry, get SCSI target nwwn.
37 void
38 bfad_im_get_starget_node_name(struct scsi_target *starget);
40 /**
41 * FC transport template entry, get SCSI target pwwn.
43 void
44 bfad_im_get_starget_port_name(struct scsi_target *starget);
46 /**
47 * FC transport template entry, get SCSI host port ID.
49 void
50 bfad_im_get_host_port_id(struct Scsi_Host *shost);
52 struct Scsi_Host*
53 bfad_os_starget_to_shost(struct scsi_target *starget);
56 #endif /* __BFAD_ATTR_H__ */