]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf4b0666a4fd9b9aa36ce3ed3abf083e8de12d3fe
treef4c800fc6d6e47971c9d4516f1d2790bc47d0865
parent2d9e3aeec7951e636fcc8e99881097bc7679a605
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