ralink: only apply ephy1 fixup if the phy is present
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 6 Nov 2014 11:11:44 +0000 (11:11 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 6 Nov 2014 11:11:44 +0000 (11:11 +0000)
commit05a6ef8d9447d39bf14692b3dd2044494f0ac513
tree835be2c22f8b9c782ee09b94cd170809a765fe83
parent02c3b07b021a8fd6c025de18a3f25d2cb9089d2f
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