]> git.baikalelectronics.ru Git - kernel.git/commit
r8152: load the default MAC address
authorhayeswang <hayeswang@realtek.com>
Tue, 18 Feb 2014 13:49:01 +0000 (21:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Feb 2014 21:40:01 +0000 (16:40 -0500)
commit5c731c7a8da721f09e342cceae716e0a1af6255b
treea93ecaafc241085de575c23097093d4dcbf53416
parentff0e84c5cd9c13d58ebe9123304d85e01b997592
r8152: load the default MAC address

Except for RTL_VER_01, replace loading the MAC address from PLA_IDR
with from PLA_BACKUP. The default MAC address may be modified by
the other OS, so the PLA_IDR may be not the default MAC address.

The data in the PLA_BACKUP address of the RTL_VER_01 may be destoryed,
so load MAC address from PLA_IDR for RTL_VER_01.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c