9
0
Fork 0
Commit Graph

509 Commits

Author SHA1 Message Date
Sascha Hauer 70971534b6 svn_rev_111
rename
2007-07-05 18:01:24 +02:00
Sascha Hauer ea8ebce5db svn_rev_110
rename
2007-07-05 18:01:23 +02:00
Sascha Hauer abfbbad1eb svn_rev_109
do not know anymore
2007-07-05 18:01:23 +02:00
Sascha Hauer 3533c30ef4 svn_rev_107
removed ifdefs
2007-07-05 18:01:23 +02:00
Sascha Hauer f6508e1c4b 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.
2007-07-05 18:01:22 +02:00
Sascha Hauer 4fbb0d6987 svn_rev_064 2007-07-05 18:01:18 +02:00
Sascha Hauer 6ae6961105 svn_rev_062 2007-07-05 18:01:18 +02:00
Sascha Hauer 8b4976503c svn_rev_061
rename
2007-07-05 18:01:18 +02:00
Sascha Hauer 6f5a40d81a svn_rev_057
move all ethernet drivers to drivers/net
2007-07-05 18:01:18 +02:00