Merge branch 'cpus4096-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / drivers / staging / benet / ep.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 __ep_amap_h__
21 #define __ep_amap_h__
22
23 /* General Control and Status Register. */
24 struct BE_EP_CONTROL_CSR_AMAP {
25         u8 m0_RxPbuf;   /* DWORD 0 */
26         u8 m1_RxPbuf;   /* DWORD 0 */
27         u8 m2_RxPbuf;   /* DWORD 0 */
28         u8 ff_en;               /* DWORD 0 */
29         u8 rsvd0[27];   /* DWORD 0 */
30         u8 CPU_reset;   /* DWORD 0 */
31 } __packed;
32 struct EP_CONTROL_CSR_AMAP {
33         u32 dw[1];
34 };
35
36 /* Semaphore Register. */
37 struct BE_EP_SEMAPHORE_CSR_AMAP {
38         u8 value[32];   /* DWORD 0 */
39 } __packed;
40 struct EP_SEMAPHORE_CSR_AMAP {
41         u32 dw[1];
42 };
43
44 /* Embedded Processor Specific Registers. */
45 struct BE_EP_CSRMAP_AMAP {
46         struct BE_EP_CONTROL_CSR_AMAP ep_control;
47         u8 rsvd0[32];   /* DWORD 1 */
48         u8 rsvd1[32];   /* DWORD 2 */
49         u8 rsvd2[32];   /* DWORD 3 */
50         u8 rsvd3[32];   /* DWORD 4 */
51         u8 rsvd4[32];   /* DWORD 5 */
52         u8 rsvd5[8][128];       /* DWORD 6 */
53         u8 rsvd6[32];   /* DWORD 38 */
54         u8 rsvd7[32];   /* DWORD 39 */
55         u8 rsvd8[32];   /* DWORD 40 */
56         u8 rsvd9[32];   /* DWORD 41 */
57         u8 rsvd10[32];  /* DWORD 42 */
58         struct BE_EP_SEMAPHORE_CSR_AMAP ep_semaphore;
59         u8 rsvd11[32];  /* DWORD 44 */
60         u8 rsvd12[19][32];      /* DWORD 45 */
61 } __packed;
62 struct EP_CSRMAP_AMAP {
63         u32 dw[64];
64 };
65
66 #endif /* __ep_amap_h__ */