9
0
Fork 0
Commit Graph

370 Commits

Author SHA1 Message Date
Sascha Hauer 1db57b0bfc svn_rev_309
add tap driver for arch=linux
2007-07-05 18:01:42 +02:00
Sascha Hauer 5909668c9f svn_rev_251
make it work again
2007-07-05 18:01:36 +02:00
Sascha Hauer feb3fee023 svn_rev_201
add mpc5200 fec driver
2007-07-05 18:01:32 +02:00
Sascha Hauer 14cf76973d svn_rev_190
remove gpio pin init, board code should do this
2007-07-05 18:01:31 +02:00
Sascha Hauer 882be5b59b svn_rev_188
WIP
2007-07-05 18:01:31 +02:00
Sascha Hauer 2ae2044e39 svn_rev_179
refacture, remove static eth_device because it does not work with more than one device
2007-07-05 18:01:30 +02:00
Sascha Hauer a9c805bf87 svn_rev_175
moved to drivers/net
2007-07-05 18:01:30 +02:00
Sascha Hauer ca24324ce1 svn_rev_129
make it work again
2007-07-05 18:01:25 +02:00
Sascha Hauer 55ebf67d3e svn_rev_120
implement initcalls
2007-07-05 18:01:24 +02:00
Sascha Hauer f5f406daef svn_rev_116
add dm9000 network driver
2007-07-05 18:01:24 +02:00
Sascha Hauer 2c6d68cc7d svn_rev_113
new api, cleanup
2007-07-05 18:01:24 +02:00
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