]> git.karo-electronics.de Git - mv-sheeva.git/blob - drivers/scsi/bfa/include/defs/bfa_defs_driver.h
7d00d00d396992d072321f3f86fa98ff06482b01
[mv-sheeva.git] / drivers / scsi / bfa / include / defs / bfa_defs_driver.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 #ifndef __BFA_DEFS_DRIVER_H__
19 #define __BFA_DEFS_DRIVER_H__
20
21 /**
22  * Driver statistics
23  */
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;
38 };
39
40
41 #endif /* __BFA_DEFS_DRIVER_H__ */