aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/et131x/et1310_address_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/et131x/et1310_address_map.h')
-rw-r--r--drivers/staging/et131x/et1310_address_map.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/drivers/staging/et131x/et1310_address_map.h b/drivers/staging/et131x/et1310_address_map.h
index ab111a3456d..0c5f6e2a509 100644
--- a/drivers/staging/et131x/et1310_address_map.h
+++ b/drivers/staging/et131x/et1310_address_map.h
@@ -1389,19 +1389,8 @@ typedef struct _RXMAC_t { /* Location: */
1389/* 1389/*
1390 * structure for Test reg in mac address map. 1390 * structure for Test reg in mac address map.
1391 * located at address 0x501C 1391 * located at address 0x501C
1392 * test: bits 0-2, rest unused
1392 */ 1393 */
1393typedef union _MAC_TEST_t {
1394 u32 value;
1395 struct {
1396#ifdef _BIT_FIELDS_HTOL
1397 u32 unused:29; /* bits 3-31 */
1398 u32 mac_test:3; /* bits 0-2 */
1399#else
1400 u32 mac_test:3; /* bits 0-2 */
1401 u32 unused:29; /* bits 3-31 */
1402#endif
1403 } bits;
1404} MAC_TEST_t, *PMAC_TEST_t;
1405 1394
1406/* 1395/*
1407 * structure for MII Management Configuration reg in mac address map. 1396 * structure for MII Management Configuration reg in mac address map.
@@ -1643,7 +1632,7 @@ typedef struct _MAC_t { /* Location: */
1643 u32 max_fm_len; /* 0x5010 */ 1632 u32 max_fm_len; /* 0x5010 */
1644 u32 rsv1; /* 0x5014 */ 1633 u32 rsv1; /* 0x5014 */
1645 u32 rsv2; /* 0x5018 */ 1634 u32 rsv2; /* 0x5018 */
1646 MAC_TEST_t mac_test; /* 0x501C */ 1635 u32 mac_test; /* 0x501C */
1647 u32 mii_mgmt_cfg; /* 0x5020 */ 1636 u32 mii_mgmt_cfg; /* 0x5020 */
1648 MII_MGMT_CMD_t mii_mgmt_cmd; /* 0x5024 */ 1637 MII_MGMT_CMD_t mii_mgmt_cmd; /* 0x5024 */
1649 MII_MGMT_ADDR_t mii_mgmt_addr; /* 0x5028 */ 1638 MII_MGMT_ADDR_t mii_mgmt_addr; /* 0x5028 */