1 /* $Id: xemac_g.c,v 1.1.1.1 2005/04/11 02:50:33 jack Exp $ */
2 /******************************************************************************
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2 of the License, or (at your
10 * option) any later version.
13 * XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS" AS A
14 * COURTESY TO YOU. BY PROVIDING THIS DESIGN, CODE, OR INFORMATION AS
15 * ONE POSSIBLE IMPLEMENTATION OF THIS FEATURE, APPLICATION OR STANDARD,
16 * XILINX IS MAKING NO REPRESENTATION THAT THIS IMPLEMENTATION IS FREE
17 * FROM ANY CLAIMS OF INFRINGEMENT, AND YOU ARE RESPONSIBLE FOR
18 * OBTAINING ANY RIGHTS YOU MAY REQUIRE FOR YOUR IMPLEMENTATION.
19 * XILINX EXPRESSLY DISCLAIMS ANY WARRANTY WHATSOEVER WITH RESPECT TO
20 * THE ADEQUACY OF THE IMPLEMENTATION, INCLUDING BUT NOT LIMITED TO ANY
21 * WARRANTIES OR REPRESENTATIONS THAT THIS IMPLEMENTATION IS FREE FROM
22 * CLAIMS OF INFRINGEMENT, IMPLIED WARRANTIES OF MERCHANTABILITY AND
23 * FITNESS FOR A PARTICULAR PURPOSE.
26 * Xilinx products are not intended for use in life support appliances,
27 * devices, or systems. Use in such applications is expressly prohibited.
30 * (c) Copyright 2002 Xilinx Inc.
31 * All rights reserved.
34 * You should have received a copy of the GNU General Public License along
35 * with this program; if not, write to the Free Software Foundation, Inc.,
36 * 675 Mass Ave, Cambridge, MA 02139, USA.
38 ******************************************************************************/
39 /*****************************************************************************/
44 * This file contains a configuration table that specifies the configuration
45 * of EMAC devices in the system.
48 * MODIFICATION HISTORY:
50 * Ver Who Date Changes
51 * ----- ---- -------- -----------------------------------------------
52 * 1.00a rpm 07/31/01 First release
53 * 1.00b rpm 02/20/02 Repartitioned files and functions
56 ******************************************************************************/
58 /***************************** Include Files *********************************/
60 #include "xparameters.h"
62 /************************** Constant Definitions *****************************/
64 /**************************** Type Definitions *******************************/
66 /***************** Macros (Inline Functions) Definitions *********************/
68 /************************** Function Prototypes ******************************/
70 /************************** Variable Prototypes ******************************/
73 * This table contains configuration information for each EMAC device
76 XEmac_Config XEmac_ConfigTable[XPAR_XEMAC_NUM_INSTANCES] = {
78 XPAR_EMAC_0_DEVICE_ID, /* Unique ID of device */
79 XPAR_EMAC_0_BASEADDR, /* Base address of device */
80 XPAR_EMAC_0_ERR_COUNT_EXIST, /* Does device have counters? */
81 XPAR_EMAC_0_DMA_PRESENT, /* Does device have scatter-gather DMA? */
82 XPAR_EMAC_0_MII_EXIST /* Does device support MII? */