summaryrefslogtreecommitdiff
path: root/net/eth.c
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2006-12-17 17:14:30 +0100
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-04-14 16:14:06 +0200
commit9a24f477a1ed5bb0f74377c985d754ebbfa44872 (patch)
tree99eb535c6f23f5d362c839cebb35f60c09168f62 /net/eth.c
parent5c1fe1ffffd1750a7e47e5a2e2cd600c00e4f009 (diff)
AVR32: Enable networking
Implement MACB initialization for AVR32 and ATSTK1000, and turn everything on, including the MACB driver. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'net/eth.c')
-rw-r--r--net/eth.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/eth.c b/net/eth.c
index cca9392059..6a344256e7 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -55,6 +55,7 @@ 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);
+extern int atstk1000_eth_initialize(bd_t *);
static struct eth_device *eth_devices, *eth_current;
@@ -255,6 +256,9 @@ int eth_initialize(bd_t *bis)
#if defined(CONFIG_RTL8169)
rtl8169_initialize(bis);
#endif
+#if defined(CONFIG_ATSTK1000)
+ atstk1000_eth_initialize(bis);
+#endif
if (!eth_devices) {
puts ("No ethernet found.\n");