summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igb/igb.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2011-08-26 07:45:52 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-10-07 22:45:46 -0700
commit4be000c874576541cd1d4d0498a0a72a1c60bf0b (patch)
tree31b4e5467e9189a5475df028d0211b3540bff7a9 /drivers/net/ethernet/intel/igb/igb.h
parent0ba829943c5180d458cd8fc37c37fa08773209e1 (diff)
downloadop-kernel-dev-4be000c874576541cd1d4d0498a0a72a1c60bf0b.zip
op-kernel-dev-4be000c874576541cd1d4d0498a0a72a1c60bf0b.tar.gz
igb: cleanup IVAR configuration
This change is meant to cleanup some of the IVAR register configuration. igb_assign_vector had become pretty large with multiple copies of the same general code for setting the IVAR. This change consolidates most of that code by adding the igb_write_ivar function which allows us just to compute the index and offset and then use that information to setup the IVAR. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/igb.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud