Browse Source

ixgbe: Provide I2C combined on X550EM

Provide I2C combined operations on X550EM, not X550 devices.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Mark Rustad 10 years ago
parent
commit
4f9e3a3de0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c

+ 2 - 2
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c

@@ -2039,14 +2039,14 @@ static struct ixgbe_phy_operations phy_ops_X550 = {
 	X550_COMMON_PHY
 	X550_COMMON_PHY
 	.init			= NULL,
 	.init			= NULL,
 	.identify		= &ixgbe_identify_phy_generic,
 	.identify		= &ixgbe_identify_phy_generic,
-	.read_i2c_combined	= &ixgbe_read_i2c_combined_generic,
-	.write_i2c_combined	= &ixgbe_write_i2c_combined_generic,
 };
 };
 
 
 static struct ixgbe_phy_operations phy_ops_X550EM_x = {
 static struct ixgbe_phy_operations phy_ops_X550EM_x = {
 	X550_COMMON_PHY
 	X550_COMMON_PHY
 	.init			= &ixgbe_init_phy_ops_X550em,
 	.init			= &ixgbe_init_phy_ops_X550em,
 	.identify		= &ixgbe_identify_phy_x550em,
 	.identify		= &ixgbe_identify_phy_x550em,
+	.read_i2c_combined	= &ixgbe_read_i2c_combined_generic,
+	.write_i2c_combined	= &ixgbe_write_i2c_combined_generic,
 };
 };
 
 
 static const u32 ixgbe_mvals_X550[IXGBE_MVALS_IDX_LIMIT] = {
 static const u32 ixgbe_mvals_X550[IXGBE_MVALS_IDX_LIMIT] = {