From 429168ea88daf7140005c790796fc150d746aacf Mon Sep 17 00:00:00 2001 From: wdenk Date: Mon, 2 Aug 2004 23:39:03 +0000 Subject: Patches by Lars Munch, 12 Jul 2004: - move at45.c to board/at91rm9200dk/ since this is at91rm9200dk board specific - split out the LXT971A PHY from ns_9750_eth.h - split the dm9161 phy part out of at91rm9200_ether.c --- include/at91rm9200_net.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'include/at91rm9200_net.h') diff --git a/include/at91rm9200_net.h b/include/at91rm9200_net.h index 19f0d3edfed..bb0050b55a2 100644 --- a/include/at91rm9200_net.h +++ b/include/at91rm9200_net.h @@ -22,7 +22,6 @@ #include #include #include -#include "dm9161.h" #define FALSE 0 #define TRUE 1 @@ -49,10 +48,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 at91rm92000_GetPhyInterface(AT91PS_PhyOps p_phyops); #endif /* AT91RM9200_ETHERNET */ -- cgit v1.2.3