From: Ben Hutchings Date: Thu, 13 Jan 2011 07:50:14 +0000 (+0000) Subject: ks8695net: Disable non-working ethtool operations X-Git-Tag: v2.6.38-rc1~50^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3d2a7309c95021f143c94a16ea9becc0c9b9d23;p=pandora-kernel.git ks8695net: Disable non-working ethtool operations Some ethtool operations can only be implemented for the WAN port, and not all such operations are allowed to return an error code such as -EOPNOTSUPP. Therefore, define two separate ethtool_ops structures for WAN and non-WAN ports; simplify and rename the WAN-only functions. This is completely untested as I don't have an ARM build environment. Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller --- Reading git-diff-tree failed