aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/benet/be_common.h
blob: 7e63dc5e3348fd9f5e070f0927f720e22870c89f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
 * Copyright (C) 2005 - 2008 ServerEngines
 * All rights reserved.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License version 2
 * as published by the Free Software Foundation.  The full GNU General
 * Public License is included in this distribution in the file called COPYING.
 *
 * Contact Information:
 * linux-drivers@serverengines.com
 *
 * ServerEngines
 * 209 N. Fair Oaks Ave
 * Sunnyvale, CA 94085
 */
/*
 * Autogenerated by srcgen version: 0127
 */
#ifndef __be_common_amap_h__
#define __be_common_amap_h__

/* Physical Address. */
struct BE_PHYS_ADDR_AMAP {
	u8 lo[32];		/* DWORD 0 */
	u8 hi[32];		/* DWORD 1 */
} __packed;
struct PHYS_ADDR_AMAP {
	u32 dw[2];
};

/* Virtual Address. */
struct BE_VIRT_ADDR_AMAP {
	u8 lo[32];		/* DWORD 0 */
	u8 hi[32];		/* DWORD 1 */
} __packed;
struct VIRT_ADDR_AMAP {
	u32 dw[2];
};

/* Scatter gather element. */
struct BE_SGE_AMAP {
	u8 addr_hi[32];	/* DWORD 0 */
	u8 addr_lo[32];	/* DWORD 1 */
	u8 rsvd0[32];	/* DWORD 2 */
	u8 len[16];		/* DWORD 3 */
	u8 rsvd1[16];	/* DWORD 3 */
} __packed;
struct SGE_AMAP {
	u32 dw[4];
};

#endif /* __be_common_amap_h__ */