diff options
author | Dave Liu <daveliu@freescale.com> | 2006-11-03 12:11:15 -0600 |
---|---|---|
committer | Kim Phillips <kim.phillips@freescale.com> | 2006-11-03 19:42:21 -0600 |
commit | 7737d5c658c606f999dfbe3e86b0fed49e5c50ef (patch) | |
tree | d1bf347ba7f4292def53870ecfcba0a1dd4c6231 /net | |
parent | 5f8204394e39bbe8cd9f08b8f8d145b6c01f7c73 (diff) | |
download | bootable_bootloader_goldelico_gta04-7737d5c658c606f999dfbe3e86b0fed49e5c50ef.zip bootable_bootloader_goldelico_gta04-7737d5c658c606f999dfbe3e86b0fed49e5c50ef.tar.gz bootable_bootloader_goldelico_gta04-7737d5c658c606f999dfbe3e86b0fed49e5c50ef.tar.bz2 |
mpc83xx: add QE ethernet support
this patch adds support for the QUICC Engine based UCC gigabit ethernet device.
Diffstat (limited to 'net')
-rw-r--r-- | net/eth.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -54,6 +54,7 @@ extern int scc_initialize(bd_t*); extern int skge_initialize(bd_t*); extern int tsec_initialize(bd_t*, int, char *); extern int npe_initialize(bd_t *); +extern int uec_initialize(int); static struct eth_device *eth_devices, *eth_current; @@ -196,6 +197,12 @@ int eth_initialize(bd_t *bis) tsec_initialize(bis, 3, CONFIG_MPC83XX_TSEC4_NAME); # endif #endif +#if defined(CONFIG_UEC_ETH1) + uec_initialize(0); +#endif +#if defined(CONFIG_UEC_ETH2) + uec_initialize(1); +#endif #if defined(CONFIG_MPC86XX_TSEC1) tsec_initialize(bis, 0, CONFIG_MPC86XX_TSEC1_NAME); #endif |