linux/arch
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
..
alpha Merge branch 'generic-ipi' into generic-ipi-for-linus 2008-07-15 21:55:59 +02:00
arm mv643xx_eth: use auto phy polling for configuring (R)(G)MII interface 2008-07-24 06:22:59 +02:00
avr32 sysdev: Pass the attribute to the low level sysdev show/store function 2008-07-21 21:55:02 -07:00
blackfin remove mention of CONFIG_KMOD from documentation 2008-07-22 19:24:29 +10:00
cris Merge branch 'for-linus' of git://www.jni.nu/cris 2008-07-20 17:37:46 -07:00
frv
h8300
ia64 sysdev: Pass the attribute to the low level sysdev show/store function 2008-07-21 21:55:02 -07:00
m32r
m68k arch/m68k/mm/sun3mmu.c: Eliminate NULL test and memset after alloc_bootmem 2008-07-20 17:24:40 -07:00
m68knommu Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 2008-07-16 17:25:46 -07:00
mips device create: mips: convert device_create to device_create_drvdata 2008-07-21 21:54:43 -07:00
mn10300 MN10300: Fix MN10300's serial port driver to get at its tty_struct 2008-07-20 17:12:35 -07:00
parisc Merge branch 'generic-ipi' into generic-ipi-for-linus 2008-07-15 21:55:59 +02:00
powerpc Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2008-07-22 13:16:01 -07:00
s390 sysdev: Pass the attribute to the low level sysdev show/store function 2008-07-21 21:55:02 -07:00
sh sysdev: Pass the attribute to the low level sysdev show/store function 2008-07-21 21:55:02 -07:00
sparc sparc32: pass -m32 when building vmlinux.lds 2008-07-22 15:47:17 -07:00
sparc64 Merge git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus 2008-07-22 13:17:15 -07:00
um Merge branch 'generic-ipi' into generic-ipi-for-linus 2008-07-15 21:55:59 +02:00
v850
x86 Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2008-07-22 13:40:24 -07:00
xtensa remove mention of CONFIG_KMOD from documentation 2008-07-22 19:24:29 +10:00
.gitignore
Kconfig