pch_gbe: Fix the MAC Address load issue.
authorToshiharu Okada <toshiharu-linux@dsn.okisemi.com>
Sun, 13 Feb 2011 22:51:54 +0000 (22:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Feb 2011 21:37:26 +0000 (13:37 -0800)
commit98200ec28a66c8db5839ac26e9a895984206b50f
treef4c800fc6d6e47971c9d4516f1d2790bc47d0865
parent5d17920bd4df6802fb48ccf8283721657c5a8257
pch_gbe: Fix the MAC Address load issue.

With the specification of hardware,
the processing at the time of driver starting was modified.

This device write automatically the MAC address read from serial ROM
into a MAC Adress1A/1B register at the time of power on reset.
However, when stable clock is not supplied,
the writing of MAC Adress1A/1B register may not be completed.
In this case, it is necessary to load MAC address to MAC Address1A/1B register
by the MAC Address1 load register.

This patch always does the above processing,
in order not to be dependent on system environment.

Signed-off-by: Toshiharu Okada <toshiharu-linux@dsn.okisemi.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pch_gbe/pch_gbe.h
drivers/net/pch_gbe/pch_gbe_main.c