OSDN Git Service

tlan: Fix MAC address byte order on OC-2325/OC-2326
authorOndrej Zary <linux@rainbow-software.org>
Mon, 30 Jun 2014 16:38:30 +0000 (18:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jul 2014 00:06:51 +0000 (17:06 -0700)
commit59be4ad6bb01fa80b6ad2cf15163ccb617f7d603
tree73ebd5cedb349998a2ee6d47a4cb8815bcf0bc06
parente36124d464d5ba74a171385ac1ba93acf4343de4
tlan: Fix MAC address byte order on OC-2325/OC-2326

Olicom OC-2325 and OC-2326 cards have the MAC address byte-swapped in EEPROM.
Byte-swap the MAC address if it's located at offset 0xF8.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/tlan.c