2010-06-17 |
network drivers: call net_receive directly instead of NetReceive
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 17 Jun 2010
|
2009-07-21 |
add a device_d to ethernet devices
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 21 Jul 2009
|
Get rid of DEVICE_TYPE_ETHER usage
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 21 Jul 2009
|
2007-10-18 |
change functions containing 'mac' or 'enet' in its name to 'ethaddr'.
...
change the parameter name for ethernet devices to 'ethaddr' aswell.
sascha
committed
on 18 Oct 2007
|
2007-07-05 |
svn_rev_310
...
use type_data instead of pric for edev
Sascha Hauer
authored
on 5 Jul 2007
Sascha Hauer
committed
on 5 Jul 2007
|
svn_rev_251
...
make it work again
Sascha Hauer
authored
on 5 Jul 2007
Sascha Hauer
committed
on 5 Jul 2007
|
svn_rev_129
...
make it work again
Sascha Hauer
authored
on 5 Jul 2007
Sascha Hauer
committed
on 5 Jul 2007
|
svn_rev_107
...
removed ifdefs
Sascha Hauer
authored
on 5 Jul 2007
Sascha Hauer
committed
on 5 Jul 2007
|
svn_rev_095
...
Currently U-Boot uses globally defined eth_* functions. This is
horribly unflexible. This patch replaces the global functions
with pointers from structs. We could also use CONFIG_NET_MULTI,
but this has other implications, though we should merge this
some day.
Also, U-Boot has no unique way to handle MAC addresses. Each and
every board and network driver uses it's own mechanism to set the
MAC address. There are several problems which I've for too often.
For example everything goes well if we boot from network, but when
we boot from flash U-Boot forgets to set the MAC address and the
linux network driver has none.
This patch adds [gs]et_mac_address to the eth_device struct and
handles it as follows:
- First try to get a valid MAC address from the EEPROM and set
'ethaddr' accordingly.
- If no valid MAC address is found in the EEPROM (or no EEPROM is
connected), we set the devices MAC address from 'ethaddr'
This is done in eth_initialize which is called on startup for
every board.
Sascha Hauer
authored
on 5 Jul 2007
Sascha Hauer
committed
on 5 Jul 2007
|
svn_rev_061
...
rename
Sascha Hauer
authored
on 5 Jul 2007
Sascha Hauer
committed
on 5 Jul 2007
|