mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-23 19:14:30 +08:00
81600eea98
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> |
||
---|---|---|
.. | ||
addr-map.c | ||
common.c | ||
common.h | ||
db88f5281-setup.c | ||
dns323-setup.c | ||
gpio.c | ||
irq.c | ||
Kconfig | ||
kurobox_pro-setup.c | ||
Makefile | ||
Makefile.boot | ||
mpp.c | ||
mpp.h | ||
mss2-setup.c | ||
mv2120-setup.c | ||
pci.c | ||
rd88f5181l-fxo-setup.c | ||
rd88f5181l-ge-setup.c | ||
rd88f5182-setup.c | ||
ts78xx-setup.c | ||
ts209-setup.c | ||
ts409-setup.c | ||
tsx09-common.c | ||
tsx09-common.h | ||
wnr854t-setup.c | ||
wrt350n-v2-setup.c |