aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin/dv-eth_phy.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/bfin/dv-eth_phy.c')
-rw-r--r--sim/bfin/dv-eth_phy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sim/bfin/dv-eth_phy.c b/sim/bfin/dv-eth_phy.c
index 59eaece..bc7413e 100644
--- a/sim/bfin/dv-eth_phy.c
+++ b/sim/bfin/dv-eth_phy.c
@@ -41,7 +41,8 @@ struct eth_phy
#define reg_offset(reg) (offsetof(struct eth_phy, reg) - reg_base())
#define reg_idx(reg) (reg_offset (reg) / 4)
-static const char * const reg_names[] = {
+static const char * const reg_names[] =
+{
[MII_BMCR ] = "MII_BMCR",
[MII_BMSR ] = "MII_BMSR",
[MII_PHYSID1 ] = "MII_PHYSID1",