From: Srinivas Kandagatla Date: Tue, 18 Oct 2011 00:01:18 +0000 (+0000) Subject: stmmac: Stop advertising 1000Base capabilties for non GMII iface (V4). X-Git-Tag: v3.2-rc1~182^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79ee1dc32b945ad71248332f3a3b355332ad3376;p=pandora-kernel.git stmmac: Stop advertising 1000Base capabilties for non GMII iface (V4). This patch stops advertising 1000Base capablities if GMAC is either configured for MII or RMII mode and on board there is a GPHY plugged on. Without this patch if an GBit switch is connected on MII interface, Ethernet stops working at all. Discovered as part of https://bugzilla.stlinux.com/show_bug.cgi?id=14148 triage Signed-off-by: Srinivas Kandagatla Signed-off-by: Giuseppe Cavallaro Signed-off-by: David S. Miller --- Reading git-diff-tree failed