From: Don Skidmore Date: Wed, 10 Jun 2015 00:15:01 +0000 (-0700) Subject: ixgbe: add array of MAC type dependent values X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~101^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a900ecaac65ecc487a8a223df80fe0f09d18080;p=pandora-kernel.git ixgbe: add array of MAC type dependent values 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 Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed