1 /* 2 * Copyright (c) 2010-2013 Xilinx, Inc. All rights reserved. 3 * 4 * Xilinx, Inc. 5 * XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS" AS A 6 * COURTESY TO YOU. BY PROVIDING THIS DESIGN, CODE, OR INFORMATION AS 7 * ONE POSSIBLE IMPLEMENTATION OF THIS FEATURE, APPLICATION OR 8 * STANDARD, XILINX IS MAKING NO REPRESENTATION THAT THIS IMPLEMENTATION 9 * IS FREE FROM ANY CLAIMS OF INFRINGEMENT, AND YOU ARE RESPONSIBLE 10 * FOR OBTAINING ANY RIGHTS YOU MAY REQUIRE FOR YOUR IMPLEMENTATION. 11 * XILINX EXPRESSLY DISCLAIMS ANY WARRANTY WHATSOEVER WITH RESPECT TO 12 * THE ADEQUACY OF THE IMPLEMENTATION, INCLUDING BUT NOT LIMITED TO 13 * ANY WARRANTIES OR REPRESENTATIONS THAT THIS IMPLEMENTATION IS FREE 14 * FROM CLAIMS OF INFRINGEMENT, IMPLIED WARRANTIES OF MERCHANTABILITY 15 * AND FITNESS FOR A PARTICULAR PURPOSE. 16 * 17 */ 18 19 #ifndef __XEMACPSIF_HW_H_ 20 #define __XEMACPSIF_HW_H_ 21 22 #include "Zynq/x_emacpsif.h" 23 /*#include "lwip/netif.h" */ 24 25 #ifdef __cplusplus 26 extern "C" { 27 #endif 28 29 XEmacPs_Config * lookup_config( unsigned mac_base ); 30 31 /*void init_emacps(xemacpsif_s *xemacpsif, struct netif *netif); */ 32 33 int emacps_check_errors( xemacpsif_s * xemacps ); 34 35 #ifdef __cplusplus 36 } 37 #endif 38 39 #endif /* ifndef __XEMACPSIF_HW_H_ */ 40