igb: Fix DCA errors and do not use context index for 82576
authorAlexander Duyck <alexander.h.duyck@intel.com>
Sat, 31 Jan 2009 08:52:30 +0000 (00:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 31 Jan 2009 08:52:30 +0000 (00:52 -0800)
commitbbd98fe48a43464b4a044bc4cbeefad284d6aa80
treee4b60585f3a552ae8d4665e9fd87cc34b6dc1054
parent5d6e430d3bafe743b18dc443189093bf532e91ed
igb: Fix DCA errors and do not use context index for 82576

82576 was being incorrectly flagged as needing a context index.  It does not as
each ring has it's own table of 2 contexts.

Driver was registering after registering the driver instead of the other way around.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/igb.h
drivers/net/igb/igb_main.c