7e63dc5e3348fd9f5e070f0927f720e22870c89f
[sfrench/cifs-2.6.git] / drivers / staging / benet / be_common.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 __be_common_amap_h__
21 #define __be_common_amap_h__
22
23 /* Physical Address. */
24 struct BE_PHYS_ADDR_AMAP {
25         u8 lo[32];              /* DWORD 0 */
26         u8 hi[32];              /* DWORD 1 */
27 } __packed;
28 struct PHYS_ADDR_AMAP {
29         u32 dw[2];
30 };
31
32 /* Virtual Address. */
33 struct BE_VIRT_ADDR_AMAP {
34         u8 lo[32];              /* DWORD 0 */
35         u8 hi[32];              /* DWORD 1 */
36 } __packed;
37 struct VIRT_ADDR_AMAP {
38         u32 dw[2];
39 };
40
41 /* Scatter gather element. */
42 struct BE_SGE_AMAP {
43         u8 addr_hi[32]; /* DWORD 0 */
44         u8 addr_lo[32]; /* DWORD 1 */
45         u8 rsvd0[32];   /* DWORD 2 */
46         u8 len[16];             /* DWORD 3 */
47         u8 rsvd1[16];   /* DWORD 3 */
48 } __packed;
49 struct SGE_AMAP {
50         u32 dw[4];
51 };
52
53 #endif /* __be_common_amap_h__ */