ixgbe: Fix register defines to correctly handle complex expressions
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 18 Jan 2012 22:13:30 +0000 (22:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Jan 2012 17:35:06 +0000 (12:35 -0500)
commit795be954dcc4a72329c8591aafe5eadb03b264af
tree0311bdea1d632a412cc504b45ecd71b746ae0191
parent56b68960ce996db7947440179cc153652a504e9a
ixgbe: Fix register defines to correctly handle complex expressions

This patch is meant to address possible issues with the IXGBE register
defines generating incorrect values when given a complex expression for the
register offset.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h