From: Florian Fainelli Date: Thu, 28 Aug 2014 22:11:03 +0000 (-0700) Subject: net: systemport: tell RXCHK if we are using Broadcom tags X-Git-Tag: fixes-against-v3.18-rc2~81^2~183 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d09d3038a336cbab6bde616ce44266c36c214f81;p=pandora-kernel.git net: systemport: tell RXCHK if we are using Broadcom tags When Broadcom tags are enabled, e.g: when interfaced to an Ethernet switch, make sure that we tell the RXCHK engine that it should be expecting a 4-bytes Broadcom tag after the Ethernet MAC Source Address. Use netdev_uses_dsa() to check for that condition since that will tell us if a switch is attached to our network interface. Fixes: 80105befdb4b ("net: systemport: add Broadcom SYSTEMPORT Ethernet MAC driver") Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller --- Reading git-diff-tree failed