ath9k: remove unneeded calculation of minimal calibration power
[linux-2.6/next.git] / drivers / scsi / bfa / include / fcb / bfa_fcb_fcpim.h
blob52585d3dd8917e725d483ee11b78e0475c8c606c
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 /**
19 * : bfad_fcpim.h - BFA FCS initiator mode remote port callbacks
22 #ifndef __BFAD_FCB_FCPIM_H__
23 #define __BFAD_FCB_FCPIM_H__
25 struct bfad_itnim_s;
28 * RPIM callbacks
31 /**
32 * Memory allocation for remote port instance. Called before PRLI is
33 * initiated to the remote target port.
35 * @param[in] bfad - driver instance
36 * @param[out] itnim - FCS remote port (IM) instance
37 * @param[out] itnim_drv - driver remote port (IM) instance
39 * @return None
41 void bfa_fcb_itnim_alloc(struct bfad_s *bfad, struct bfa_fcs_itnim_s **itnim,
42 struct bfad_itnim_s **itnim_drv);
44 /**
45 * Free remote port (IM) instance.
47 * @param[in] bfad - driver instance
48 * @param[in] itnim_drv - driver remote port instance
50 * @return None
52 void bfa_fcb_itnim_free(struct bfad_s *bfad,
53 struct bfad_itnim_s *itnim_drv);
55 /**
56 * Notification of when login with a remote target device is complete.
58 * @param[in] itnim_drv - driver remote port instance
60 * @return None
62 void bfa_fcb_itnim_online(struct bfad_itnim_s *itnim_drv);
64 /**
65 * Notification when login with the remote device is severed.
67 * @param[in] itnim_drv - driver remote port instance
69 * @return None
71 void bfa_fcb_itnim_offline(struct bfad_itnim_s *itnim_drv);
73 void bfa_fcb_itnim_tov(struct bfad_itnim_s *itnim_drv);
75 #endif /* __BFAD_FCB_FCPIM_H__ */