summaryrefslogtreecommitdiff
path: root/drivers/net/pch_gbe/pch_gbe.h
diff options
context:
space:
mode:
authorToshiharu Okada <toshiharu-linux@dsn.okisemi.com>2011-02-13 22:51:54 +0000
committerDavid S. Miller <davem@davemloft.net>2011-02-14 13:37:26 -0800
commit98200ec28a66c8db5839ac26e9a895984206b50f (patch)
treef4c800fc6d6e47971c9d4516f1d2790bc47d0865 /drivers/net/pch_gbe/pch_gbe.h
parent5d17920bd4df6802fb48ccf8283721657c5a8257 (diff)
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>
Diffstat (limited to 'drivers/net/pch_gbe/pch_gbe.h')
-rw-r--r--drivers/net/pch_gbe/pch_gbe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pch_gbe/pch_gbe.h b/drivers/net/pch_gbe/pch_gbe.h
index a0c26a99520f..e1e33c80fb25 100644
--- a/drivers/net/pch_gbe/pch_gbe.h
+++ b/drivers/net/pch_gbe/pch_gbe.h
@@ -73,7 +73,7 @@ struct pch_gbe_regs {
struct pch_gbe_regs_mac_adr mac_adr[16];
u32 ADDR_MASK;
u32 MIIM;
- u32 reserve2;
+ u32 MAC_ADDR_LOAD;
u32 RGMII_ST;
u32 RGMII_CTRL;
u32 reserve3[3];