]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/at91rm9200_net.h
CONFIG: EXYNOS5: Enable silent console
[karo-tx-uboot.git] / include / at91rm9200_net.h
index 19f0d3edfedd45ba5f5f625ba8ed967d5ce9062a..804105f58457b801070ad7ad0b9332347e9382d1 100644 (file)
 #include <common.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
-#include "dm9161.h"
-
-#define FALSE 0
-#define TRUE 1
-
 
 #define ETHERNET_ADDRESS_SIZE           6
 
@@ -49,10 +44,10 @@ typedef struct _AT91S_PhyOps
 /******************  function prototypes **********************/
 
 /* MII functions */
-static void at91rm9200_EmacEnableMDIO(AT91PS_EMAC p_mac);
-static void at91rm9200_EmacDisableMDIO(AT91PS_EMAC p_mac);
-static UCHAR at91rm9200_EmacReadPhy(AT91PS_EMAC p_mac, unsigned char RegisterAddress, unsigned short *pInput);
-static UCHAR at91rm9200_EmacWritePhy(AT91PS_EMAC p_mac, unsigned char RegisterAddress, unsigned short *pOutput);
-void at91rm92000_GetPhyInterface(void );
+void at91rm9200_EmacEnableMDIO(AT91PS_EMAC p_mac);
+void at91rm9200_EmacDisableMDIO(AT91PS_EMAC p_mac);
+UCHAR at91rm9200_EmacReadPhy(AT91PS_EMAC p_mac, unsigned char RegisterAddress, unsigned short *pInput);
+UCHAR at91rm9200_EmacWritePhy(AT91PS_EMAC p_mac, unsigned char RegisterAddress, unsigned short *pOutput);
+void at91rm9200_GetPhyInterface(AT91PS_PhyOps p_phyops);
 
 #endif /* AT91RM9200_ETHERNET */