Commit | Line | Data |
---|---|---|
479e2f44 SS |
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 __mpu_context_amap_h__ | |
21 | #define __mpu_context_amap_h__ | |
22 | ||
23 | /* | |
24 | * Management command and control ring context. The MPUs BTLR_CTRL1 CSR | |
25 | * controls the writeback behavior of the producer and consumer index values. | |
26 | */ | |
27 | struct BE_MCC_RING_CONTEXT_AMAP { | |
28 | u8 con_index[16]; /* DWORD 0 */ | |
29 | u8 ring_size[4]; /* DWORD 0 */ | |
30 | u8 cq_id[11]; /* DWORD 0 */ | |
31 | u8 rsvd0; /* DWORD 0 */ | |
32 | u8 prod_index[16]; /* DWORD 1 */ | |
33 | u8 pdid[15]; /* DWORD 1 */ | |
34 | u8 invalid; /* DWORD 1 */ | |
35 | u8 cmd_pending_current[7]; /* DWORD 2 */ | |
36 | u8 rsvd1[25]; /* DWORD 2 */ | |
37 | u8 hpi_port_cq_id[11]; /* DWORD 3 */ | |
38 | u8 rsvd2[5]; /* DWORD 3 */ | |
39 | u8 cmd_pending_max[7]; /* DWORD 3 */ | |
40 | u8 rsvd3[9]; /* DWORD 3 */ | |
41 | } __packed; | |
42 | struct MCC_RING_CONTEXT_AMAP { | |
43 | u32 dw[4]; | |
44 | }; | |
45 | ||
46 | #endif /* __mpu_context_amap_h__ */ |