e1000e: don't check for alternate MAC addr on parts that don't support it
commit1aef70ef125165e0114a8e475636eff242a52030
authorBruce Allan <bruce.w.allan@intel.com>
Thu, 19 Aug 2010 22:48:52 +0000 (19 15:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Aug 2010 22:48:52 +0000 (19 15:48 -0700)
tree8b53324f66ef455cfcd3e93cb83bd99c84567d14
parent19833b5dffe2f2e92a1b377f9aae9d5f32239512
e1000e: don't check for alternate MAC addr on parts that don't support it

From: Bruce Allan <bruce.w.allan@intel.com>

The alternate MAC address feature is only supported by 80003ES2LAN and
82571 LOMs as well as a couple 82571 mezzanine cards.  Checking for an
alternate MAC address on other parts can fail leading to the driver not
able to load.  This patch limits the check for an alternate MAC address
to be done only for parts that support the feature.

This issue has been around since support for the feature was introduced
to the e1000e driver in 2.6.34.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Reported-by: Fabio Varesano <fax8@users.sourceforge.net>
Cc: stable@kernel.org
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/82571.c
drivers/net/e1000e/defines.h
drivers/net/e1000e/lib.c