diff options
author | Alan Cox | 2010-01-18 16:35:19 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2010-03-04 01:42:52 +0100 |
commit | dcb0789bb344b76fdeb32876f1e498a5cd19ecc1 (patch) | |
tree | 5ee4a1c3e9b47469a54bb084c1609bf25a1f05c6 /drivers/staging/et131x/et1310_address_map.h | |
parent | Staging: et131x: Kill the SPACE_AVAIL type (diff) | |
download | kernel-qcow2-linux-dcb0789bb344b76fdeb32876f1e498a5cd19ecc1.tar.gz kernel-qcow2-linux-dcb0789bb344b76fdeb32876f1e498a5cd19ecc1.tar.xz kernel-qcow2-linux-dcb0789bb344b76fdeb32876f1e498a5cd19ecc1.zip |
Staging: et131x: Kill MIF_CTL_t
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/et131x/et1310_address_map.h')
-rw-r--r-- | drivers/staging/et131x/et1310_address_map.h | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/drivers/staging/et131x/et1310_address_map.h b/drivers/staging/et131x/et1310_address_map.h index f434b8660356..e57109345d16 100644 --- a/drivers/staging/et131x/et1310_address_map.h +++ b/drivers/staging/et131x/et1310_address_map.h @@ -883,21 +883,11 @@ typedef union _RXMAC_UNI_PF_ADDR3_t { /* * structure for management interface reg in rxmac address map. * located at address 0x4098 + * + * 31-18: reserved + * 17: drop_pkt_en + * 16-0: drop_pkt_mask */ -typedef union _RXMAC_MIF_CTL_t { - u32 value; - struct { -#ifdef _BIT_FIELDS_HTOL - u32 reserve:14; /* bits 18-31 */ - u32 drop_pkt_en:1; /* bit 17 */ - u32 drop_pkt_mask:17; /* bits 0-16 */ -#else - u32 drop_pkt_mask:17; /* bits 0-16 */ - u32 drop_pkt_en:1; /* bit 17 */ - u32 reserve:14; /* bits 18-31 */ -#endif - } bits; -} RXMAC_MIF_CTL_t, *PRXMAC_MIF_CTL_t; /* * structure for Error reg in rxmac address map. @@ -965,7 +955,7 @@ typedef struct _RXMAC_t { /* Location: */ u32 rxq_diag; /* 0x4090 */ u32 space_avail; /* 0x4094 */ - RXMAC_MIF_CTL_t mif_ctrl; /* 0x4098 */ + u32 mif_ctrl; /* 0x4098 */ RXMAC_ERROR_REG_t err_reg; /* 0x409C */ } RXMAC_t, *PRXMAC_t; |