backports: handle struct ethtool_cmd MDI changes
authorStefan Assmann <sassmann@kpanic.de>
Fri, 16 May 2014 11:21:22 +0000 (13:21 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 1 Jun 2014 22:16:15 +0000 (00:16 +0200)
commitbf1bba766cf487273feb65ef06494ed48a397a9f
tree0e7a0940534891e568523aef9b9b02a5df98550c
parentcf7fdd8649551f063fde4b175f4ab648dd61ab9d
backports: handle struct ethtool_cmd MDI changes

In kernel 3.7 struct ethtool_cmd received eth_tp_mdix and eth_tp_mdix_ctrl.
Address this by putting ifdef around the code using these struct components.

commit 6f6bbc186dc8e4e0c628db7decbd1a5e02cb5fd8
Author: Jesse Brandeburg <jesse.brandeburg@intel.com>
Date:   Thu Jul 26 02:30:53 2012 +0000

    ethtool.h: MDI setting support

git describe --contains 6f6bbc186dc8e4e0c628db7decbd1a5e02cb5fd8
v3.7-rc1~145^2~300^2~5

Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
patches/collateral-evolutions/network/0040-ethtool_cmd_mdix/INFO [new file with mode: 0644]
patches/collateral-evolutions/network/0040-ethtool_cmd_mdix/igb_ethtool_cmd_mdix.patch [new file with mode: 0644]