Skip to contentSkip to conversation

ColdFire: Add MCF547x_8x FEC driver

PATCH New Tsi-Chung Liew 1 participant 1 message Jan 16, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ColdFire: Add MCF547x_8x FEC driver

From: TsiChungLiew <[email protected]>

---
 drivers/net/Makefile       |    1 +
 drivers/net/fsl_mcdmafec.c |  583 ++++++++++++++++++++++++++++++++++++++++++++
 net/eth.c                  |    4 +
 3 files changed, 588 insertions(+), 0 deletions(-)
 create mode 100644 drivers/net/fsl_mcdmafec.c
drivers/net/Makefile +1 -0
index 41e1bde..b9723fa 100644
@@ -33,6 +33,7 @@ COBJS-y += dm9000x.o
 COBJS-y += e1000.o
 COBJS-y += eepro100.o
 COBJS-y += enc28j60.o
+COBJS-y += fsl_mcdmafec.o
 COBJS-y += inca-ip_sw.o
 COBJS-y += ks8695eth.o
 COBJS-y += lan91c96.o
drivers/net/fsl_mcdmafec.c new file +583 -0

583 lines not on this page · raw message

net/eth.c +4 -0
index 5d9e9c1..bcd7d42 100644
@@ -61,6 +61,7 @@ extern int uec_initialize(int);
 extern int bfin_EMAC_initialize(bd_t *);
 extern int atstk1000_eth_initialize(bd_t *);
 extern int mcffec_initialize(bd_t*);
+extern int mcdmafec_initialize(bd_t*);
 
 #ifdef CONFIG_API
 extern void (*push_packet)(volatile void *, int);
@@ -272,6 +273,9 @@ int eth_initialize(bd_t *bis)
 #if defined(CONFIG_MCFFEC)
 	mcffec_initialize(bis);
 #endif
+#if defined(CONFIG_FSLDMAFEC)
+	mcdmafec_initialize(bis);
+#endif
 
 	if (!eth_devices) {
 		puts ("No ethernet found.\n");
Signature · 1 line
1.5.2