summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorWingMan Kwok <w-kwok2@ti.com>2016-12-19 17:55:56 -0500
committerDavid S. Miller <davem@davemloft.net>2016-12-20 14:07:17 -0500
commite9838ef2d6f3f3ccb058514d4ac03a6f6155ecc2 (patch)
tree71e7736c1c9d39dec43814c94797d5f0db036f99 /include/net
parent04fddde37642dd270ecb430b879f311536cfd6a5 (diff)
net: netcp: ethss: fix errors in ethtool ops
In ethtool ops, it needs to retrieve the corresponding ethss module (gbe or xgbe) from the net_device structure. Prior to this patch, the retrieving procedure only checks for the gbe module. This patch fixes the issue by checking the xgbe module if the net_device structure does not correspond to the gbe module. Signed-off-by: WingMan Kwok <w-kwok2@ti.com> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions