summaryrefslogtreecommitdiffstats
path: root/include/at91rm9200_net.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-08-02 23:39:03 +0000
committerwdenk <wdenk>2004-08-02 23:39:03 +0000
commit429168ea88daf7140005c790796fc150d746aacf (patch)
treeb0cf1fbcf6c0e2ef778e4131c2a5967df3c7f931 /include/at91rm9200_net.h
parent6705d81e90ed4466d6e4f445104826096da0c521 (diff)
downloadbootable_bootloader_goldelico_gta04-429168ea88daf7140005c790796fc150d746aacf.zip
bootable_bootloader_goldelico_gta04-429168ea88daf7140005c790796fc150d746aacf.tar.gz
bootable_bootloader_goldelico_gta04-429168ea88daf7140005c790796fc150d746aacf.tar.bz2
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
Diffstat (limited to 'include/at91rm9200_net.h')
-rw-r--r--include/at91rm9200_net.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/include/at91rm9200_net.h b/include/at91rm9200_net.h
index 19f0d3e..bb0050b 100644
--- a/include/at91rm9200_net.h
+++ b/include/at91rm9200_net.h
@@ -22,7 +22,6 @@
#include <common.h>
#include <asm/io.h>
#include <asm/arch/hardware.h>
-#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 */