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)
commitdc4df4ca652a7c20b8fdf5b1b2b6c44f2fcd5865
tree136f4204df462791a09680813a84fcc6155240a6
parent5721f06fe180582c60ef7ae490087de6f8492bb4
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>
SVN-Revision: 23127
target/linux/generic/files/drivers/net/phy/rtl8366rb.c
target/linux/generic/files/drivers/net/phy/rtl8366s.c