generic: RTL8366S/RB: Fix autonegotiation for the WAN port.
authorGabor Juhos <juhosg@openwrt.org>
Mon, 27 Sep 2010 14:42:05 +0000 (14:42 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 27 Sep 2010 14:42:05 +0000 (14:42 +0000)
commit9ec1d552dbb27f26fd4de11374d2b572b524742d
tree65a725524a0e85eb2e03e837caf61db72d8e2020
parente0c47b311ff5e1e4ab60beb3cd7c1b599efb6f12
generic: RTL8366S/RB: Fix autonegotiation for the WAN port.

The RTL8366S/RB support connecting a second mac to it and using the 5th
port as an independent phy. Therefore we need to handle autonegotiation
changes for phy 4 like on a single phy device.

This fixes #7980, verified on a WNDR3700.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23127 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/files/drivers/net/phy/rtl8366rb.c
target/linux/generic/files/drivers/net/phy/rtl8366s.c