aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/benet/mpu_context.h
blob: 8ce90f9c46c2598318228abf137a390d01298fc6 (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
/*
 * 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 __mpu_context_amap_h__
#define __mpu_context_amap_h__

/*
 * Management command and control ring context. The MPUs BTLR_CTRL1 CSR
 * controls the writeback behavior of the producer and consumer index values.
 */
struct BE_MCC_RING_CONTEXT_AMAP {
	u8 con_index[16];	/* DWORD 0 */
	u8 ring_size[4];	/* DWORD 0 */
	u8 cq_id[11];	/* DWORD 0 */
	u8 rsvd0;		/* DWORD 0 */
	u8 prod_index[16];	/* DWORD 1 */
	u8 pdid[15];	/* DWORD 1 */
	u8 invalid;		/* DWORD 1 */
	u8 cmd_pending_current[7];	/* DWORD 2 */
	u8 rsvd1[25];	/* DWORD 2 */
	u8 hpi_port_cq_id[11];	/* DWORD 3 */
	u8 rsvd2[5];	/* DWORD 3 */
	u8 cmd_pending_max[7];	/* DWORD 3 */
	u8 rsvd3[9];	/* DWORD 3 */
} __packed;
struct MCC_RING_CONTEXT_AMAP {
	u32 dw[4];
};

#endif /* __mpu_context_amap_h__ */