ixgbe: Resolve NULL reference by setting {read, write}_reg_mdi
authorMark Rustad <mark.d.rustad@intel.com>
Fri, 26 Aug 2016 21:48:28 +0000 (14:48 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 Sep 2016 07:13:14 +0000 (00:13 -0700)
commit8fe293aaaa7abd192633cf612065b355a66ed6ad
tree73532051e0d50c7b40b1d720843454c73066f885
parentd2d43e5b9fce2c30182dd9b6c63f436ea923a4d9
ixgbe: Resolve NULL reference by setting {read, write}_reg_mdi

Set the read_reg_mdi and write_reg_mdi method pointers for
X550EM_A_10G_T devices to resolve jumping to NULL.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c