diff options
author | Huang, Xiong <xiong@qca.qualcomm.com> | 2012-04-30 15:38:53 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-30 21:44:14 -0400 |
commit | 229e6b6e9cdc615abb10336792bcb94a34ba6532 (patch) | |
tree | 5ae39ee2d72a8fa3dbb3d18655bc20a9565983a5 /samples | |
parent | e1192580093c5771fc57617e98bb35dc07c7fd54 (diff) | |
download | op-kernel-dev-229e6b6e9cdc615abb10336792bcb94a34ba6532.zip op-kernel-dev-229e6b6e9cdc615abb10336792bcb94a34ba6532.tar.gz |
atl1c: refine mac address related code
On some platform with EEPROM/OTP existing, the BIOS could overwrite
a new MAC address for the NIC. so, the permanent mac address should
be from BIOS. the address is restored when driver removing.
Voltage raising isn't applicable for l1d.
Replace swab32 with htonl for big/little endian platform.
related Registers are refined as well.
Signed-off-by: xiong <xiong@qca.qualcomm.com>
Tested-by: Liu David <dwliu@qca.qualcomm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions