mirror of
https://github.com/FreeRTOS/FreeRTOS-Plus-TCP
synced 2025-10-24 03:32:36 +08:00
* Update NetworkInterface.c * Update NetworkInterface.c * Update NetworkInterface.c * Update x_emacpsif_dma.c * Update NetworkInterface.c * Update NetworkInterface_eth.c * Update NetworkInterface.c * Uncrustify: triggered by comment. * Update FreeRTOS_DNS_Cache.c * Update NetworkInterface.c * Update NetworkInterface.c * Update NetworkInterface.c * Update FreeRTOS_DNS_Parser.c * Update FreeRTOS_DNS_Parser.c * Update NetworkInterface.c * Update uncached_memory.c * Update x_emacpsif.h * Update x_emacpsif_dma.c * Update x_emacpsif_hw.c * Update x_emacpsif_physpeed.c * Update x_topology.h --------- Co-authored-by: GitHub Action <action@github.com>
48 lines
1.6 KiB
C
48 lines
1.6 KiB
C
/*
|
|
* Copyright (c) 2007-2013 Xilinx, Inc. All rights reserved.
|
|
*
|
|
* Xilinx, Inc.
|
|
* XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS" AS A
|
|
* COURTESY TO YOU. BY PROVIDING THIS DESIGN, CODE, OR INFORMATION AS
|
|
* ONE POSSIBLE IMPLEMENTATION OF THIS FEATURE, APPLICATION OR
|
|
* STANDARD, XILINX IS MAKING NO REPRESENTATION THAT THIS IMPLEMENTATION
|
|
* IS FREE FROM ANY CLAIMS OF INFRINGEMENT, AND YOU ARE RESPONSIBLE
|
|
* FOR OBTAINING ANY RIGHTS YOU MAY REQUIRE FOR YOUR IMPLEMENTATION.
|
|
* XILINX EXPRESSLY DISCLAIMS ANY WARRANTY WHATSOEVER WITH RESPECT TO
|
|
* THE ADEQUACY OF THE IMPLEMENTATION, INCLUDING BUT NOT LIMITED TO
|
|
* ANY WARRANTIES OR REPRESENTATIONS THAT THIS IMPLEMENTATION IS FREE
|
|
* FROM CLAIMS OF INFRINGEMENT, IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS FOR A PARTICULAR PURPOSE.
|
|
*
|
|
*/
|
|
|
|
#ifndef __XTOPOLOGY_H_
|
|
#define __XTOPOLOGY_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
enum xemac_types
|
|
{
|
|
xemac_type_unknown = -1, xemac_type_xps_emaclite, xemac_type_xps_ll_temac, xemac_type_axi_ethernet, xemac_type_emacps
|
|
};
|
|
|
|
struct xtopology_t
|
|
{
|
|
unsigned emac_baseaddr;
|
|
enum xemac_types emac_type;
|
|
unsigned intc_baseaddr;
|
|
unsigned intc_emac_intr; /* valid only for xemac_type_xps_emaclite */
|
|
unsigned scugic_baseaddr; /* valid only for Zynq */
|
|
unsigned scugic_emac_intr; /* valid only for GEM */
|
|
};
|
|
|
|
extern struct xtopology_t xXTopologies[ XPAR_XEMACPS_NUM_INSTANCES ];
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* ifndef __XTOPOLOGY_H_ */
|