diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2008-03-28 19:22:53 (GMT) |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2008-03-30 04:33:28 (GMT) |
commit | c2b7da552293b50c9c9e46ed71267b02c2de9ea8 (patch) | |
tree | 62026fa1a7141837ff6f6b7f659412b8aea6ce07 /net/eth.c | |
parent | 233a8bcd94997f3f345833a3b82e836222f2a206 (diff) | |
download | u-boot-fsl-qoriq-c2b7da552293b50c9c9e46ed71267b02c2de9ea8.tar.xz |
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/eth.c')
-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 |