pch_phub: Fix MAC address writing issue for LAPIS ML7831
authorTomoya MORINAGA <tomoya.rohm@gmail.com>
Fri, 11 Nov 2011 01:12:18 +0000 (10:12 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 26 Nov 2011 17:09:56 +0000 (09:09 -0800)
commitdbe52bb9fc1e9bf2efd515cc9fab874e8da59de1
tree41ee1e46aab5d1d1f07c036c0e9f63ee380574d6
parent3be76a63e71aa11a614415426b30df3b171089e0
pch_phub: Fix MAC address writing issue for LAPIS ML7831

commit 2a9887919457c6e1bd482e8448223be59d19010a upstream.

ISSUE:
Using ML7831, MAC address writing doesn't work well.

CAUSE:
ML7831 and EG20T have the same register map for MAC address access.
However, this driver processes the writing the same as ML7223.
This is not true.
This driver must process the writing the same as EG20T.
This patch fixes the issue.

Signed-off-by: Tomoya MORINAGA <tomoya.rohm@gmail.com>
Cc: Masayuki Ohtak <masa-korg@dsn.okisemi.com>
Cc: Alexander Stein <alexander.stein@systec-electronic.com>
Cc: Denis Turischev <denis@compulab.co.il>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/misc/pch_phub.c