android_kernel_xiaomi_sm8350/arch/arm/mach-orion5x
Lennert Buytenhek 81600eea98 mv643xx_eth: use auto phy polling for configuring (R)(G)MII interface
The mv643xx_eth hardware has a provision for polling the PHY's
MII management registers to obtain the (R)(G)MII interface speed
(10/100/1000) and duplex (half/full) and pause (off/symmetric)
settings to use to talk to the PHY.

The driver currently does not make use of this feature.  Instead,
whenever there is a link status change event, it reads the current
link parameters from the PHY, and programs those parameters into
the mv643xx_eth MAC by hand.

This patch switches the mv643xx_eth driver to letting the MAC
auto-determine the (R)(G)MII link parameters by PHY polling, if there
is a PHY present.  For PHYless ports (when e.g. the (R)(G)MII
interface is connected to a hardware switch), we keep hardcoding the
MII interface parameters.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
2008-07-24 06:22:59 +02:00
..
addr-map.c [ARM] Orion: nuke orion5x_{read,write} 2008-06-22 22:44:57 +02:00
common.c [ARM] Orion: add 88F5181L (Orion-VoIP) support 2008-06-22 22:44:51 +02:00
common.h [ARM] Orion: make PCI handling code deal with Cardbus slots 2008-06-30 16:04:44 -04:00
db88f5281-setup.c [ARM] Orion: nuke orion5x_{read,write} 2008-06-22 22:44:57 +02:00
dns323-setup.c [ARM] Orion: nuke orion5x_{read,write} 2008-06-22 22:44:57 +02:00
gpio.c [ARM] Orion: nuke orion5x_{read,write} 2008-06-22 22:44:57 +02:00
irq.c [ARM] Orion: nuke orion5x_{read,write} 2008-06-22 22:44:57 +02:00
Kconfig [ARM] Orion: add RD88F5181L-FXO support 2008-07-07 18:38:24 -04:00
kurobox_pro-setup.c [ARM] Orion: initialize UART1 on Kurobox Pro/Linkstation Pro 2008-06-30 14:25:23 -04:00
Makefile [ARM] Orion: add RD88F5181L-FXO support 2008-07-07 18:38:24 -04:00
Makefile.boot
mpp.c [ARM] Orion: rework MPP handling 2008-06-22 22:44:47 +02:00
mpp.h [ARM] Orion: rework MPP handling 2008-06-22 22:44:47 +02:00
mss2-setup.c [ARM] Orion: add Maxtor Shared Storage II support 2008-06-22 22:44:55 +02:00
mv2120-setup.c [ARM] Orion: LED support for HP mv2120 2008-07-07 18:38:24 -04:00
pci.c [ARM] Orion: make PCI handling code deal with Cardbus slots 2008-06-30 16:04:44 -04:00
rd88f5181l-fxo-setup.c mv643xx_eth: use auto phy polling for configuring (R)(G)MII interface 2008-07-24 06:22:59 +02:00
rd88f5181l-ge-setup.c mv643xx_eth: use auto phy polling for configuring (R)(G)MII interface 2008-07-24 06:22:59 +02:00
rd88f5182-setup.c [ARM] Orion: avoid setting ->force_phy_addr 2008-06-22 22:44:48 +02:00
ts78xx-setup.c [ARM] Orion: add Technologic Systems TS-78xx support 2008-06-22 22:44:54 +02:00
ts209-setup.c [ARM] Orion: remove code duplication in TS209 and TS409 setup files 2008-06-22 22:44:54 +02:00
ts409-setup.c [ARM] Orion: remove code duplication in TS209 and TS409 setup files 2008-06-22 22:44:54 +02:00
tsx09-common.c [ARM] Orion: fix for tsx09-common.c compilation problem 2008-06-30 14:25:23 -04:00
tsx09-common.h [ARM] Orion: remove code duplication in TS209 and TS409 setup files 2008-06-22 22:44:54 +02:00
wnr854t-setup.c mv643xx_eth: use auto phy polling for configuring (R)(G)MII interface 2008-07-24 06:22:59 +02:00
wrt350n-v2-setup.c mv643xx_eth: use auto phy polling for configuring (R)(G)MII interface 2008-07-24 06:22:59 +02:00