From: Alexander Duyck Date: Fri, 26 Aug 2011 07:45:52 +0000 (+0000) Subject: igb: cleanup IVAR configuration X-Git-Tag: v3.2-rc1~129^2~105^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4be000c874576541cd1d4d0498a0a72a1c60bf0b;p=pandora-kernel.git 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 Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed