RT-AC56 3.0.0.4.374.37 core
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / drivers / scsi / bfa / include / defs / bfa_defs_driver.h
blob7d00d00d396992d072321f3f86fa98ff06482b01
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 __BFA_DEFS_DRIVER_H__
19 #define __BFA_DEFS_DRIVER_H__
21 /**
22 * Driver statistics
24 struct bfa_driver_stats_s {
25 u16 tm_io_abort;
26 u16 tm_io_abort_comp;
27 u16 tm_lun_reset;
28 u16 tm_lun_reset_comp;
29 u16 tm_target_reset;
30 u16 tm_bus_reset;
31 u16 ioc_restart; /* IOC restart count */
32 u16 rsvd;
33 u64 control_req;
34 u64 input_req;
35 u64 output_req;
36 u64 input_words;
37 u64 output_words;
41 #endif /* __BFA_DEFS_DRIVER_H__ */