/*******************************************************************************
                             Intel Proprietary

 Copyright (c) 2003 By Intel Corporation.  All rights reserved.
 No part of this program or publication may be reproduced, transmitted,
 transcribed, stored in a retrieval system, or translated into any language
 or computer language in any form or by any means, electronic, mechanical,
 magnetic, optical, chemical, manual, or otherwise, without the prior
 written permission of:
                         Intel Corporation
                         2200 Mission College Blvd.
                         Santa Clara, CA  95052-8119
*******************************************************************************/

/*
 * dl_system.h
 */

/* nizhner 7/5/04 -- merged relevant options from radisys reference app */

/* Definition for packet rx sequencing fix TKH */
#define FIX_SEQUENCING

/* Define project as microcode based. */
/*
#ifndef IXP_MICROCODE
#define IXP_MICROCODE
#endif
*/

/* Phy modes */
#define TX_PHY_MODE 						MPHY_4	/* TKH */
#define RX_PHY_MODE							MPHY_4	/* TKH */

/*---------------------------------------------------------------------
 * Include global definition and configuration files
 *-------------------------------------------------------------------*/

/* This file is also used by script files that setup the system when run 
 * in simulation mode. When symbol IXP_SCRIPTS is defined, it indicates
 * that scripts are using this file. Since script files cannot access
 * path definitions, they should not encounter '#include <file>'. Instead
 * they include the <file> using Simulation -> Options -> Startup.
 */
#ifndef IXP_SCRIPTS
#include <definitions.h>
#include <ix_cc_microengines_bindings.h>
#ifndef IXP_MICROCODE
#include <ixp.h> /* for micro-c */
#endif
#endif

/*---------------------------------------------------------------------
 * 1) Miscellaneous settings.
 *-------------------------------------------------------------------*/

/* Default size for PKT HDR to be cached in long words. */
#define		PKT_HDR_CACHE_SIZE	10

#ifndef		USE_IMPORT_VAR

/* This defines the number of queues/class per port */
#ifndef		NUM_CLASS_BITS
#define 	NUM_CLASS_BITS		4
#endif

/* This blade's id */
#ifndef		THIS_BLADE_ID
#define		THIS_BLADE_ID		0x3f 	/* TKH don't know what this is really used for */
#endif

#endif /* USE_IMPORT_VAR */

/*---------------------------------------------------------------------
 * 2) Microblock specific settings.
 *-------------------------------------------------------------------*/

/*---------------------------------------------------------------------
 * i) Packet Rx microblock.
 *-------------------------------------------------------------------*/

/* Base address for Packet Rx contexts in local memory. */
#ifndef		POS_RX_CTX_LM_BASE
#define		POS_RX_CTX_LM_BASE		0x0
#endif

/* Size of each Packet Rx context in bytes. */
#ifndef		POS_RX_CTX_SIZE
#define		POS_RX_CTX_SIZE			64
#endif

/* Total number of Packet Rx contexts. */
#ifndef		POS_RX_CTX_TOTAL
#define		POS_RX_CTX_TOTAL		16
#endif


#include  "quad_gbeth_dl_system.h"

