Gabor Juhos
2f9e535e89
ar71xx: ag71xx: use fixed link parameters if the mii bus is not registered
...
SVN-Revision: 28977
2011-11-12 10:54:16 +00:00
Jonas Gorski
c674c874b7
ag71xx: close a race between the phy state machine and link state
...
A fast stop/start cycle could leave the ag71xx interrupts and tx engine
disabled when using a phy driver with a fixed link and the start/stop
happens between two phy state machine polls.
Prevent this by always forcing the link down on stop regardless of phy
state and having a phy connected.
SVN-Revision: 28380
2011-10-08 11:37:14 +00:00
Matteo Croce
4deecea26b
ar71xx: detect link on LAN ports
...
SVN-Revision: 26922
2011-05-17 11:12:56 +00:00
Gabor Juhos
3711658281
ar71xx: ag71xx: fix section mismatch warnings
...
The function __devinit ag71xx_probe() references
a function __devexit ag71xx_phy_disconnect().
This is often seen when error handling in the init function
uses functionality in the exit path.
The fix is often to remove the __devexit annotation of
ag71xx_phy_disconnect() so it may be used outside an exit section.
The function ag71xx_phy_disconnect() references a function in an exit
section.
Often the function ag71xx_ar7240_cleanup() has valid usage outside the
exit section
and the fix is to remove the __devexit annotation of
ag71xx_ar7240_cleanup.
SVN-Revision: 26855
2011-05-08 13:30:36 +00:00
Felix Fietkau
6656450c6d
ar71xx: fix more section mismatches
...
SVN-Revision: 23575
2010-10-21 18:42:16 +00:00
Felix Fietkau
523fcf0497
ar71xx: add a new driver for the ar7240 switch using swconfig. hooks directly into the ethernet driver, as MAC resets also require switch reinitializations and the switch is part of the cpu core anyway switch only tl-wr741nd (and other devices using this board file, such as tl-wr841nd) over to using this by default, as other devices are still untested fixes #7563
...
SVN-Revision: 22675
2010-08-16 19:21:57 +00:00
Gabor Juhos
9a1031ce6d
ar71xx: change PHY select logic, and update phy_masks
...
SVN-Revision: 20358
2010-03-21 18:16:07 +00:00
Gabor Juhos
a4bccded57
ar71xx: ag71xx: move link update function
...
SVN-Revision: 20003
2010-03-05 20:29:18 +00:00
Gabor Juhos
63a320c8f7
ar71xx: add dummy debugfs support for the ag71xx driver
...
SVN-Revision: 19031
2010-01-04 14:28:25 +00:00
Gabor Juhos
8956009fa6
ar71xx: fix NULL pointer dereference in the ethernet driver
...
SVN-Revision: 18755
2009-12-11 19:32:58 +00:00
Gabor Juhos
d38fd20cb7
ar71xx: move mdio_bus reset code
...
SVN-Revision: 18749
2009-12-11 12:21:15 +00:00
Gabor Juhos
18867965f7
ar71xx: add support for external mii_bus
...
SVN-Revision: 18692
2009-12-08 10:29:27 +00:00
Gabor Juhos
35dbf66787
ar71xx: override fifo_cfg[123] values on AR7240
...
SVN-Revision: 18614
2009-11-30 13:53:39 +00:00
Gabor Juhos
a6e3c605bc
add AR7240 specific fixes for the ag71xx driver
...
SVN-Revision: 16737
2009-07-07 18:06:02 +00:00
Gabor Juhos
c2c496868e
add support for board specific PLL settings
...
SVN-Revision: 16133
2009-05-28 13:00:08 +00:00
Gabor Juhos
ed861cf5e9
use dev_name() instead of bus_id in ag71xx, ohci-ar71xx, ehci-ar71xx drivers
...
SVN-Revision: 15629
2009-05-05 19:21:39 +00:00
Gabor Juhos
4bcc027e97
ag71xx driver: update phy connecting code
...
SVN-Revision: 14495
2009-02-13 10:43:40 +00:00
Gabor Juhos
09e02ec5a7
remove netif schedule from the ag71xx driver
...
SVN-Revision: 14494
2009-02-13 08:58:59 +00:00
Gabor Juhos
d841d5cfc7
ag71xx driver: use SoC specific PLL values
...
SVN-Revision: 13377
2008-11-27 18:54:58 +00:00
Gabor Juhos
c9ae01d3c8
ag71xx: introduce SoC specific fuctions for DDR flush and PLL setup
...
SVN-Revision: 13369
2008-11-26 20:00:41 +00:00
Gabor Juhos
0bb95d5754
ag71xx: dump additional registers in debug mode
...
SVN-Revision: 13361
2008-11-26 14:09:00 +00:00
Gabor Juhos
77cff176bf
ethernet driver preparation for gigabit support
...
SVN-Revision: 13340
2008-11-24 16:56:36 +00:00
Gabor Juhos
f0a9ec964b
define some bits of the ethernet controller's registers
...
SVN-Revision: 13201
2008-11-14 08:57:31 +00:00
Gabor Juhos
e0fc95a2ab
setup speed/duplex on RB-433/450 ( closes #4151 )
...
SVN-Revision: 13087
2008-10-31 11:50:47 +00:00
Gabor Juhos
a312d0611d
minor ethernet driver update
...
SVN-Revision: 12985
2008-10-15 18:31:21 +00:00
Gabor Juhos
6ce62982dd
ag71xx: add initial message level support
...
SVN-Revision: 12262
2008-08-10 09:18:42 +00:00
Gabor Juhos
970f41ad18
ethernet driver updates * new mii bus code, mac0 and mac1 can use the mac0's miii bus from now on * swap eth0 & eth1 on RB433/450
...
SVN-Revision: 11995
2008-07-29 18:22:38 +00:00