summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorCyril Jourdan2012-08-08 15:14:05 +0200
committerCyril Jourdan2012-09-20 10:25:36 +0200
commit8bc8e10332db887bbd0730e5b003ee521112d228 (patch)
tree4ff686c30318b1730c7af2b55c02a1d8d79bf7f5 /common
parentcdb5a4ff01ba0c5c086d9a7e265f3e66780490ad (diff)
common/inc/asm/arch: correct nvram structure, refs #3119
eth_port_nb field is present in EoC and should be therefore present in AV, as NVRAMs are the same.
Diffstat (limited to 'common')
-rw-r--r--common/include/asm/arch/nvram.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/include/asm/arch/nvram.h b/common/include/asm/arch/nvram.h
index ff23160162..3053c0f54d 100644
--- a/common/include/asm/arch/nvram.h
+++ b/common/include/asm/arch/nvram.h
@@ -72,7 +72,8 @@ typedef struct
char serial_number[64]; /* Product serial number in string format */
uint32_t eth_phy_addr; /* Address of Ethernet PHY */
unsigned char eth_address[6]; /* Ethernet MAC address */
- unsigned char reserved1[2];
+ unsigned char eth_port_nb; /* Ethernet port number */
+ unsigned char reserved1;
unsigned char plc_address[6]; /* PowerLine MAC address */
unsigned char reserved2[2];
char device_password[32]; /* HomePlugAV device unique password (DPW) */