[Intel-wired-lan] [net-next PATCH 2] ixgbe: add array of MAC type dependent values
Jeff Kirsher
jeffrey.t.kirsher at intel.com
Mon May 18 22:51:41 UTC 2015
On Mon, 2015-05-18 at 12:31 -0400, Don Skidmore wrote:
> Some of the register addresses and format where unfortunately changed
> between MAC types. To get around this we add a const u32 *mvals
> pointer
> to the ixgbe_hw struct to point to an array of mac-type-dependent
> values. These can include register offsets, masks, whatever can be in
> a u32. When the ixgbe_hw struct is initialized, a pointer to the
> appropriate array must be set.
>
> Signed-off-by: Don Skidmore <donald.c.skidmore at intel.com>
> ---
> drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c | 1
> drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c | 7 -
> drivers/net/ethernet/intel/ixgbe/ixgbe_common.c | 59 +++--
> drivers/net/ethernet/intel/ixgbe/ixgbe_common.h | 2
> drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c | 6 -
> drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 43 ++--
> drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c | 44 ++--
> drivers/net/ethernet/intel/ixgbe/ixgbe_type.h | 246
> ++++++++++++++++++----
> drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c | 41 ++--
> drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c | 12 +
> 10 files changed, 328 insertions(+), 133 deletions(-)
Not sure if there is a difference between this patch and the one you
send later today, so I am dropping this patch and will be looking to
apply your patch you sent later today. :-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20150518/8452b02e/attachment.asc>
More information about the Intel-wired-lan
mailing list