diff options
author | Alan Cox <alan@linux.intel.com> | 2009-10-06 10:50:58 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 15:23:08 -0500 |
commit | 4ea30f84c5d28fb17ef6ac91f1952545db6774c3 (patch) | |
tree | ed42606134755cb874cf6b567b72e0bd5a29dedb | |
parent | cc5dc29c65575125a694ed67bbdee7895c7055f9 (diff) |
Staging: et131x: kill off MAC_TEST_t
It isn't used anyway
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/et131x/et1310_address_map.h | 15 |
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 | */ |
1393 | typedef 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 */ |