From: Ivan Vecera Date: Mon, 30 Nov 2009 07:12:52 +0000 (-0800) Subject: r8169: restore mac addr in rtl8169_remove_one and rtl_shutdown X-Git-Tag: v2.6.32~40^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc098dc705895f6b0109b7e8e026ac2b8ae1c0a1;p=pandora-kernel.git r8169: restore mac addr in rtl8169_remove_one and rtl_shutdown The newer chipsets (all PCI-E) are known that they need full power cycle (AC or battery removal) to reset MAC address to a hardwired one. Previous patch to address this problem loads the original MAC address from EEPROM. But it brought other problem for which it is necessary to introduce a new module parameter. However, it might suffice to restore the initial MAC address before shutdown/reboot/kexec and when removing the module. Signed-off-by: Ivan Vecera Signed-off-by: David S. Miller --- Reading git-diff-tree failed