rt2x00: Don't check whether hardware crypto is enabled when reading RXD.
[safe/jmp/linux-2.6] / drivers / scsi / bfa / bfad_tm.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 /*
19  * Brocade Fibre Channel HBA Linux Target Mode Driver
20  */
21
22 /**
23  *  tm/dummy/bfad_tm.h BFA callback dummy header file for BFA Linux target mode PCI interface module.
24  */
25
26 #ifndef __BFAD_TM_H__
27 #define __BFAD_TM_H__
28
29 #include <defs/bfa_defs_status.h>
30
31 #define FCPT_NAME               ""
32
33 /*
34  * Called from base Linux driver on (De)Init events
35  */
36
37 /* attach tgt template with scst */
38 #define bfad_tm_module_init()   do {} while (0)
39
40 /* detach/release tgt template */
41 #define bfad_tm_module_exit()   do {} while (0)
42
43 #define bfad_tm_probe(x)        do {} while (0)
44 #define bfad_tm_probe_undo(x)   do {} while (0)
45 #define bfad_tm_probe_post(x)   do {} while (0)
46
47 /*
48  * Called by base Linux driver but triggered by BFA FCS on config events
49  */
50 #define bfad_tm_port_new(x, y)          BFA_STATUS_OK
51 #define bfad_tm_port_delete(x, y)       do {} while (0)
52
53 /*
54  * Called by base Linux driver but triggered by BFA FCS on PLOGI/O events
55  */
56 #define bfad_tm_port_online(x, y)       do {} while (0)
57 #define bfad_tm_port_offline(x, y)      do {} while (0)
58
59 #endif