diff options
author | Mark Rustad | 2016-04-01 21:18:04 +0200 |
---|---|---|
committer | Jeff Kirsher | 2016-04-08 01:08:08 +0200 |
commit | 9a5c27e6ef9166612f95564bc2fc69506d1be2b3 (patch) | |
tree | d6734423b36a6b383288a0907109f84ef97592f3 /drivers/net/ethernet/intel/ixgbe/ixgbe_type.h | |
parent | ixgbe: Add definitions for x550em_a 10G MAC (diff) | |
download | kernel-qcow2-linux-9a5c27e6ef9166612f95564bc2fc69506d1be2b3.tar.gz kernel-qcow2-linux-9a5c27e6ef9166612f95564bc2fc69506d1be2b3.tar.xz kernel-qcow2-linux-9a5c27e6ef9166612f95564bc2fc69506d1be2b3.zip |
ixgbe: Use method pointer to access IOSF devices
Provide method pointers and use them to access IOSF-attached
devices. A new MAC will introduce a new access method.
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>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe_type.h')
-rw-r--r-- | drivers/net/ethernet/intel/ixgbe/ixgbe_type.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h b/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h index b505da3e9778..fef2264ff5f0 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h @@ -3332,6 +3332,8 @@ struct ixgbe_mac_operations { s32 (*dmac_config)(struct ixgbe_hw *hw); s32 (*dmac_update_tcs)(struct ixgbe_hw *hw); s32 (*dmac_config_tcs)(struct ixgbe_hw *hw); + s32 (*read_iosf_sb_reg)(struct ixgbe_hw *, u32, u32, u32 *); + s32 (*write_iosf_sb_reg)(struct ixgbe_hw *, u32, u32, u32); }; struct ixgbe_phy_operations { |