Sascha Hauer
4794a8ae7f
[miiphy]: fix compiler warning
2008-04-07 12:23:54 +02:00
Sascha Hauer
2bdf73a210
Trivial documentation fix
2008-04-04 14:45:04 +02:00
Sascha Hauer
6020d321e8
use U-Boot standard types for variables.
...
The FEC driver used to typedef it's own variable types. Use standard
U-Boot types instead
Signed-off-by: Carsten Schlote <schlote@vahanus.net>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-04-04 14:45:04 +02:00
Sascha Hauer
b8fb74a466
fec i.MX27: Fix data buffer alignment
2008-03-14 13:04:56 +01:00
Sascha Hauer
8d4e06d3d5
[mpc5200 fec] revert to some old version (somehow my play version got into the
...
repository). Runtime tested on pcm030
2008-02-20 17:48:31 +01:00
Sascha Hauer
5928516b68
[i.MX27]: use correct clock for i.MX27 ethernet driver
2008-02-19 15:52:52 +01:00
Enrik Berkhan
0449be2dc1
Only change ADVERTISE_ALL bit
...
Signed-Off-By: Enrik Berkhan <Enrik.Berkhan@ge.com>
2008-01-23 12:13:23 +01:00
Juergen Beisert
dae2d42d9b
doc fixed in i.MX27 fec related files
...
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-12 16:28:23 +01:00
Marc Kleine-Budde
57cae4e826
Merge branch 'ipe337'
2007-11-12 15:58:53 +01:00
Juergen Beisert
b2c4402b94
Fix wrong warning message
...
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
2007-11-12 15:28:09 +01:00
Marc Kleine-Budde
880c221b76
[smsc911x] undef FLOW if already defined
...
fixes:
drivers/net/smc911x.c:334:1: warning: "FLOW" redefined
In file included from include/asm/blackfin.h:33,
from include/asm/system.h:29,
from include/asm/bitops.h:33,
from include/linux/bitops.h:69,
from include/common.h:31,
from drivers/net/smc911x.c:29:
include/asm/cpu/defBF561.h:1654:1: warning: this is the location of the previous definition
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-12 12:07:04 +01:00
Juergen Beisert
f4ba1fff89
adding and correcting driver's doc
...
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-09 12:01:18 +01:00
Juergen Beisert
be4a1c4acc
setting correct buffer size
...
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-09 09:57:16 +01:00
Juergen Beisert
903d775d32
adding first clean mx27 only fec driver
2007-11-08 16:24:51 +01:00
Juergen Beisert
e121848b4a
new revision, no volatile any more
2007-11-05 18:19:31 +01:00
Juergen Beisert
1cb7062653
integrating sha's changes into jbe's branch
2007-11-05 12:26:29 +01:00
Juergen Beisert
5f26029b10
noisy support
2007-10-18 21:02:02 +02:00
sascha
1b272d80f1
change functions containing 'mac' or 'enet' in its name to 'ethaddr'.
...
change the parameter name for ethernet devices to 'ethaddr' aswell.
2007-10-18 11:17:16 +02:00
sascha
fa814e8fae
add default for case to avoid compiler warning
2007-10-16 14:49:31 +02:00
sascha
fdf739c7a5
move dm9000 specific stuff to platform_data
2007-10-16 13:55:48 +02:00
Sascha Hauer
a6c86a0b1b
remove hardcoded regsiter base addresses
2007-10-09 18:59:18 +02:00
Sascha Hauer
2bd6a5b543
make real code visible between debug code
2007-10-09 18:34:26 +02:00
Sascha Hauer
7ab263cec8
remove decoration
2007-10-09 18:17:41 +02:00
Sascha Hauer
ddd13222cf
reorder functions to get rid of static function declarations
2007-10-09 18:13:06 +02:00
Sascha Hauer
da3d281495
add some register bitmask values from the linux kernel
2007-10-09 18:09:17 +02:00
Sascha Hauer
c1711479b0
remove unported includes and drivers
2007-09-21 14:14:05 +02:00
Sascha Hauer
8b0fa292f6
- coding style
...
- turn endless loop into timeout loop
- remove preliminary debug crap
2007-09-12 16:57:01 +02:00
Sascha Hauer
13e43a3536
use timeout loop instead of udelay/counter combination
2007-09-11 10:22:00 +02:00
Sascha Hauer
59432c41ce
add blackfin network driver
2007-09-11 10:16:37 +02:00
Sascha Hauer
6402a7d5b7
dm9000.c: return -0 -> return 0
2007-09-11 10:10:09 +02:00
Sascha Hauer
4b72bf8449
add hilscher netx ethernet driver
2007-09-05 12:53:50 +02:00
Sascha Hauer
e054dd9ee4
do loadtask in ethernet driver
2007-07-12 09:22:25 +02:00
Sascha Hauer
c3243cfb03
use debug macro, some beautification
2007-07-05 21:47:48 +02:00
Sascha Hauer
75a10b942c
svn_rev_706
...
add file headers
2007-07-05 18:02:19 +02:00
Sascha Hauer
a107b04b30
svn_rev_698
...
add dummy init function
2007-07-05 18:02:18 +02:00
Sascha Hauer
98432d3925
svn_rev_683
...
more cleanups, fix compiler warnings
2007-07-05 18:02:16 +02:00
Sascha Hauer
f59546b79b
svn_rev_675
...
move serial and network drivers from cpu/ to drivers/
2007-07-05 18:02:15 +02:00
Sascha Hauer
2ae203a52e
svn_rev_659
...
remove ns7520 files. They are completely unused even in original u-boot
2007-07-05 18:02:14 +02:00
Sascha Hauer
83e882ab00
svn_rev_628
2007-07-05 18:02:11 +02:00
Sascha Hauer
840a277e9f
svn_rev_627
2007-07-05 18:02:11 +02:00
Sascha Hauer
0a95963207
svn_rev_626
...
use generic phy
2007-07-05 18:02:11 +02:00
Sascha Hauer
6834609691
svn_rev_593
...
intrduce get_clock_* functions
2007-07-05 18:02:08 +02:00
Sascha Hauer
9ff9f6a5ef
svn_rev_579
...
miiphy
2007-07-05 18:02:06 +02:00
Sascha Hauer
955ed9aae1
svn_rev_573
...
cleanups, generic phy support
2007-07-05 18:02:06 +02:00
Sascha Hauer
14edc91f97
svn_rev_572
...
add miiphy support
2007-07-05 18:02:06 +02:00
Sascha Hauer
4f0d6f9b82
svn_rev_564
...
remove debug output
2007-07-05 18:02:05 +02:00
Sascha Hauer
58c95d74ad
svn_rev_563
...
unify menu style
2007-07-05 18:02:05 +02:00
Sascha Hauer
36a60cf92b
svn_rev_526
...
CFG_CACHELINESIZE -> CONFIG_CACHELINE_SIZE
2007-07-05 18:02:01 +02:00
Sascha Hauer
998a23e50d
svn_rev_508
...
put driver back into business
2007-07-05 18:02:00 +02:00
Sascha Hauer
041c5e8b13
svn_rev_450
...
do autongotiation on probe and not on open, so this is done
when we actually need the phy.
We do not disable the phy now, that's not good. But at least
networking is much more responsive now.
2007-07-05 18:01:55 +02:00
Sascha Hauer
07045831cd
svn_rev_430
2007-07-05 18:01:53 +02:00
Sascha Hauer
a45e1af152
svn_rev_426
2007-07-05 18:01:52 +02:00
Sascha Hauer
205b6b6861
svn_rev_402
...
oh man
2007-07-05 18:01:50 +02:00
Sascha Hauer
4320cc59b5
svn_rev_376
...
remove unnecessary include
2007-07-05 18:01:48 +02:00
Sascha Hauer
76b81d8f16
svn_rev_311
2007-07-05 18:01:42 +02:00
Sascha Hauer
381840e830
svn_rev_310
...
use type_data instead of pric for edev
2007-07-05 18:01:42 +02:00
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