xref: /FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/xilinx_ultrascale/x_emacpsif_hw.h (revision 245d5879903cfc6e52a466fc1067fe54f869740c)
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 "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 /* Defined in x_emacpsif_physpeed.c. */
36     uint32_t ulDetecPHY( XEmacPs * xemacpsp );
37 
38 
39     #ifdef __cplusplus
40 }
41     #endif
42 
43 #endif /* ifndef __XEMACPSIF_HW_H_ */
44