/* * 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__ */