tg3: Preserve LAA when device control is released
authorMatt Carlson <mcarlson@broadcom.com>
Tue, 4 Nov 2008 00:51:36 +0000 (16:51 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Nov 2008 00:51:36 +0000 (16:51 -0800)
This patch moves the __tg3_set_mac_addr() function earlier in the file
listing, to avoid a function prototype, and calls the function to
restore the LAA after a driver unload chip reset.  With this code in
place, the administrator can wake the machine using the LAA.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found