ColdFire: Add MCF547x_8x FEC driver
Subsystems (2)
PATCH 1/1 ColdFire: Add MCF547x_8x FEC driver
From: TsiChungLiew <[email protected]>
Signed-off-by 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
@@ -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
@@ -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