ralink: only apply ephy1 fixup if the phy is present
authorJohn Crispin <blogic@openwrt.org>
Thu, 6 Nov 2014 11:11:44 +0000 (11:11 +0000)
committerJohn Crispin <blogic@openwrt.org>
Thu, 6 Nov 2014 11:11:44 +0000 (11:11 +0000)
commit7996c754bda748cd3921a08405fe41d4dab7a6f4
tree835be2c22f8b9c782ee09b94cd170809a765fe83
parent2fca043064596359127dad73eefb19f4fa01c4b6
ralink: only apply ephy1 fixup if the phy is present

this broke e1700 lan2 as the fixup was applied to the phy inside the mt7530.

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43200 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ramips/files/drivers/net/ethernet/ralink/gsw_mt7620a.c