igb: cleanup usage of virtualization registers
authorAlexander Duyck <alexander.h.duyck@intel.com>
Mon, 22 Mar 2010 14:07:46 +0000 (14:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Mar 2010 01:30:04 +0000 (18:30 -0700)
commit52a1dd4d15cc28da5d3e9bfb1526c314d65fdff8
tree04e3d0fecad1ab7ee0c7523eaed98cbe3fad5160
parent411f557c3accbaa1e2b378d29aeaffffbec39ccc
igb: cleanup usage of virtualization registers

The igb driver was incorrectly attempting to write to registers that do not
exist on 82580 hardware.  This wasn't causing any issues that I can tell,
but it is not recommended behavior either so I have changed this so we are
determining which registers to write to based on mac type.

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_main.c