smsc911x: Add spinlocks around registers access
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / scsi / bfa / fcs_fcpim.h
blob11e6e7bce9f63664134bfa9dab231c5dbfec00ab
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.
17 #ifndef __FCS_FCPIM_H__
18 #define __FCS_FCPIM_H__
20 #include <defs/bfa_defs_port.h>
21 #include <fcs/bfa_fcs_lport.h>
22 #include <fcs/bfa_fcs_rport.h>
25 * Following routines are from FCPIM and will be called by rport.
27 struct bfa_fcs_itnim_s *bfa_fcs_itnim_create(struct bfa_fcs_rport_s *rport);
28 void bfa_fcs_itnim_delete(struct bfa_fcs_itnim_s *itnim);
29 void bfa_fcs_itnim_rport_offline(struct bfa_fcs_itnim_s *itnim);
30 void bfa_fcs_itnim_rport_online(struct bfa_fcs_itnim_s *itnim);
31 bfa_status_t bfa_fcs_itnim_get_online_state(struct bfa_fcs_itnim_s *itnim);
33 void bfa_fcs_itnim_is_initiator(struct bfa_fcs_itnim_s *itnim);
34 void bfa_fcs_itnim_pause(struct bfa_fcs_itnim_s *itnim);
35 void bfa_fcs_itnim_resume(struct bfa_fcs_itnim_s *itnim);
37 void bfa_fcs_fcpim_uf_recv(struct bfa_fcs_itnim_s *itnim, struct fchs_s *fchs,
38 u16 len);
39 #endif /* __FCS_FCPIM_H__ */