]> git.baikalelectronics.ru Git - kernel.git/commit
igb: change how we handle alternate mac addresses
authorAlexander Duyck <alexander.h.duyck@intel.com>
Mon, 5 Oct 2009 06:34:25 +0000 (06:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Oct 2009 21:59:21 +0000 (14:59 -0700)
commit0ba21035168dff73050886cc832413dc27e0c9d8
treedd411a3246a6a01e467873dafd4417f756b961c9
parent2475e10763923b06c73527bab5beb71c7061bc1c
igb: change how we handle alternate mac addresses

This patch allows us to treat the alternate mac address as though it is the
physical address on the adapter.  This is accomplished by letting the
alt_mac_address function to only fail on an NVM error.  If no errors occur
and the alternate mac address is not present then RAR0 is read as the
default mac address.

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/e1000_82575.c
drivers/net/igb/e1000_hw.h
drivers/net/igb/e1000_mac.c