diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2008-03-28 20:22:53 +0100 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2008-03-30 00:33:28 -0400 |
commit | c2b7da552293b50c9c9e46ed71267b02c2de9ea8 (patch) | |
tree | 62026fa1a7141837ff6f6b7f659412b8aea6ce07 /net | |
parent | 233a8bcd94997f3f345833a3b82e836222f2a206 (diff) | |
download | bootable_bootloader_goldelico_gta04-c2b7da552293b50c9c9e46ed71267b02c2de9ea8.tar.gz bootable_bootloader_goldelico_gta04-c2b7da552293b50c9c9e46ed71267b02c2de9ea8.tar.bz2 bootable_bootloader_goldelico_gta04-c2b7da552293b50c9c9e46ed71267b02c2de9ea8.zip |
SPARC/LEON3: Added GRETH Ethernet 10/100/1000 driver.
GRETH is an Ethernet 10/100 or 10/100/1000 MAC with out without
a debug link (EDCL). The GRETH core is documented in GRIP.pdf
available at www.gaisler.com.
If the GRETH has GigaBit support (GBIT, Scatter gather, checksum
offloading etc.) can be determined by a bit in the control register.
The GBIT MAC is supported by operating in GRTEH 10/100 legacy mode.
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/eth.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -60,6 +60,7 @@ extern int npe_initialize(bd_t *); extern int uec_initialize(int); extern int bfin_EMAC_initialize(bd_t *); extern int atstk1000_eth_initialize(bd_t *); +extern int greth_initialize(bd_t *); extern int atngw100_eth_initialize(bd_t *); extern int mcffec_initialize(bd_t*); extern int mcdmafec_initialize(bd_t*); @@ -275,6 +276,9 @@ int eth_initialize(bd_t *bis) #if defined(CONFIG_ATSTK1000) atstk1000_eth_initialize(bis); #endif +#if defined(CONFIG_GRETH) + greth_initialize(bis); +#endif #if defined(CONFIG_ATNGW100) atngw100_eth_initialize(bis); #endif |