e1000e: provide MAC-family-specific function to set LAN ID
commitf4d2dd4cd4d001f5dc20fc76c780c0c20c000c23
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 13 Jan 2010 02:05:18 +0000 (13 02:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Jan 2010 04:31:57 +0000 (13 20:31 -0800)
treec056667e1787a0f9c63d42f7a61924cf98a52eb5
parent608f8a0d014db6cd18d4f535934d4b5d556e3013
e1000e: provide MAC-family-specific function to set LAN ID

Provide MAC-specific function pointer to determine the LAN ID (PCI func).
The LAN ID is used internally by the driver to determine which h/w lock
to use to protect accessing the PHY on ESB2 as well as help to determine
the alternate MAC address on some parts.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
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/e1000.h
drivers/net/e1000e/es2lan.c
drivers/net/e1000e/hw.h
drivers/net/e1000e/ich8lan.c
drivers/net/e1000e/lib.c