554fbe5d127bcd6aca6b378b86848b374987d9cb
[pandora-kernel.git] / drivers / staging / benet / fw / etx_context.h
1 /*
2  * Copyright (C) 2005 - 2008 ServerEngines
3  * All rights reserved.
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License version 2
7  * as published by the Free Software Foundation.  The full GNU General
8  * Public License is included in this distribution in the file called COPYING.
9  *
10  * Contact Information:
11  * linux-drivers@serverengines.com
12  *
13  * ServerEngines
14  * 209 N. Fair Oaks Ave
15  * Sunnyvale, CA 94085
16  */
17 /*
18  * Autogenerated by srcgen version: 0127
19  */
20 #ifndef __etx_context_amap_h__
21 #define __etx_context_amap_h__
22
23 /* ETX ring  context structure. */
24 struct BE_ETX_CONTEXT_AMAP {
25         u8 tx_cidx[11]; /* DWORD 0 */
26         u8 rsvd0[5];    /* DWORD 0 */
27         u8 rsvd1[16];   /* DWORD 0 */
28         u8 tx_pidx[11]; /* DWORD 1 */
29         u8 rsvd2;               /* DWORD 1 */
30         u8 tx_ring_size[4];     /* DWORD 1 */
31         u8 pd_id[5];    /* DWORD 1 */
32         u8 pd_id_not_valid;     /* DWORD 1 */
33         u8 cq_id_send[10];      /* DWORD 1 */
34         u8 rsvd3[32];   /* DWORD 2 */
35         u8 rsvd4[32];   /* DWORD 3 */
36         u8 cur_bytes[32];       /* DWORD 4 */
37         u8 max_bytes[32];       /* DWORD 5 */
38         u8 time_stamp[32];      /* DWORD 6 */
39         u8 rsvd5[11];   /* DWORD 7 */
40         u8 func;                /* DWORD 7 */
41         u8 rsvd6[20];   /* DWORD 7 */
42         u8 cur_txd_count[32];   /* DWORD 8 */
43         u8 max_txd_count[32];   /* DWORD 9 */
44         u8 rsvd7[32];   /* DWORD 10 */
45         u8 rsvd8[32];   /* DWORD 11 */
46         u8 rsvd9[32];   /* DWORD 12 */
47         u8 rsvd10[32];  /* DWORD 13 */
48         u8 rsvd11[32];  /* DWORD 14 */
49         u8 rsvd12[32];  /* DWORD 15 */
50 } __packed;
51 struct ETX_CONTEXT_AMAP {
52         u32 dw[16];
53 };
54
55 #endif /* __etx_context_amap_h__ */