diff options
author | Masanari Iida <standby24x7@gmail.com> | 2014-07-24 06:46:52 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-24 18:05:13 -0400 |
commit | a34157d08e4befcbb5025cb7072966b8423babfd (patch) | |
tree | 6b1260ddc8ccf6836f4f832a652a67f2b249c18b | |
parent | 868bf4421d995ec289261f76f572f8abacd00412 (diff) |
staging: et131x: Remove trailing semicolon from macros in et131x.h
This patch removes trailing semicolon from macros within et131x.h
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/et131x/et131x.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/drivers/staging/et131x/et131x.h b/drivers/staging/et131x/et131x.h index 3c0c4974fbdb..1318439db13e 100644 --- a/drivers/staging/et131x/et131x.h +++ b/drivers/staging/et131x/et131x.h | |||
@@ -145,7 +145,7 @@ | |||
145 | *31: selfclr_disable | 145 | *31: selfclr_disable |
146 | */ | 146 | */ |
147 | 147 | ||
148 | #define ET_RESET_ALL 0x007F; | 148 | #define ET_RESET_ALL 0x007F |
149 | 149 | ||
150 | /* | 150 | /* |
151 | * SLV Timer reg at address 0x002C (low 24 bits) | 151 | * SLV Timer reg at address 0x002C (low 24 bits) |
@@ -394,7 +394,7 @@ struct txdma_regs { /* Location: */ | |||
394 | * 11-0: psr ndes | 394 | * 11-0: psr ndes |
395 | */ | 395 | */ |
396 | 396 | ||
397 | #define ET_RXDMA_PSR_NUM_DES_MASK 0xFFF; | 397 | #define ET_RXDMA_PSR_NUM_DES_MASK 0xFFF |
398 | 398 | ||
399 | /* | 399 | /* |
400 | * structure for packet status ring available offset reg in rxdma address map | 400 | * structure for packet status ring available offset reg in rxdma address map |
@@ -815,11 +815,11 @@ struct txmac_regs { /* Location: */ | |||
815 | * 0: filter_broad_en | 815 | * 0: filter_broad_en |
816 | */ | 816 | */ |
817 | 817 | ||
818 | #define ET_RX_PFCTRL_MIN_PKT_SZ_SHIFT 16; | 818 | #define ET_RX_PFCTRL_MIN_PKT_SZ_SHIFT 16 |
819 | #define ET_RX_PFCTRL_FRAG_FILTER_ENABLE 0x0008; | 819 | #define ET_RX_PFCTRL_FRAG_FILTER_ENABLE 0x0008 |
820 | #define ET_RX_PFCTRL_UNICST_FILTER_ENABLE 0x0004; | 820 | #define ET_RX_PFCTRL_UNICST_FILTER_ENABLE 0x0004 |
821 | #define ET_RX_PFCTRL_MLTCST_FILTER_ENABLE 0x0002; | 821 | #define ET_RX_PFCTRL_MLTCST_FILTER_ENABLE 0x0002 |
822 | #define ET_RX_PFCTRL_BRDCST_FILTER_ENABLE 0x0001; | 822 | #define ET_RX_PFCTRL_BRDCST_FILTER_ENABLE 0x0001 |
823 | 823 | ||
824 | /* | 824 | /* |
825 | * structure for Memory Controller Interface Control Max Segment reg in rxmac | 825 | * structure for Memory Controller Interface Control Max Segment reg in rxmac |
@@ -831,9 +831,9 @@ struct txmac_regs { /* Location: */ | |||
831 | * 0: seg_en | 831 | * 0: seg_en |
832 | */ | 832 | */ |
833 | 833 | ||
834 | #define ET_RX_MCIF_CTRL_MAX_SEG_SIZE_SHIFT 2; | 834 | #define ET_RX_MCIF_CTRL_MAX_SEG_SIZE_SHIFT 2 |
835 | #define ET_RX_MCIF_CTRL_MAX_SEG_FC_ENABLE 0x0002; | 835 | #define ET_RX_MCIF_CTRL_MAX_SEG_FC_ENABLE 0x0002 |
836 | #define ET_RX_MCIF_CTRL_MAX_SEG_ENABLE 0x0001; | 836 | #define ET_RX_MCIF_CTRL_MAX_SEG_ENABLE 0x0001 |
837 | 837 | ||
838 | /* | 838 | /* |
839 | * structure for Memory Controller Interface Water Mark reg in rxmac address | 839 | * structure for Memory Controller Interface Water Mark reg in rxmac address |
@@ -987,15 +987,15 @@ struct rxmac_regs { /* Location: */ | |||
987 | * 0: full duplex | 987 | * 0: full duplex |
988 | */ | 988 | */ |
989 | 989 | ||
990 | #define ET_MAC_CFG2_PREAMBLE_SHIFT 12; | 990 | #define ET_MAC_CFG2_PREAMBLE_SHIFT 12 |
991 | #define ET_MAC_CFG2_IFMODE_MASK 0x0300; | 991 | #define ET_MAC_CFG2_IFMODE_MASK 0x0300 |
992 | #define ET_MAC_CFG2_IFMODE_1000 0x0200; | 992 | #define ET_MAC_CFG2_IFMODE_1000 0x0200 |
993 | #define ET_MAC_CFG2_IFMODE_100 0x0100; | 993 | #define ET_MAC_CFG2_IFMODE_100 0x0100 |
994 | #define ET_MAC_CFG2_IFMODE_HUGE_FRAME 0x0020; | 994 | #define ET_MAC_CFG2_IFMODE_HUGE_FRAME 0x0020 |
995 | #define ET_MAC_CFG2_IFMODE_LEN_CHECK 0x0010; | 995 | #define ET_MAC_CFG2_IFMODE_LEN_CHECK 0x0010 |
996 | #define ET_MAC_CFG2_IFMODE_PAD_CRC 0x0004; | 996 | #define ET_MAC_CFG2_IFMODE_PAD_CRC 0x0004 |
997 | #define ET_MAC_CFG2_IFMODE_CRC_ENABLE 0x0002; | 997 | #define ET_MAC_CFG2_IFMODE_CRC_ENABLE 0x0002 |
998 | #define ET_MAC_CFG2_IFMODE_FULL_DPLX 0x0001; | 998 | #define ET_MAC_CFG2_IFMODE_FULL_DPLX 0x0001 |
999 | 999 | ||
1000 | /* | 1000 | /* |
1001 | * structure for Interpacket gap reg in mac address map. | 1001 | * structure for Interpacket gap reg in mac address map. |
@@ -1084,7 +1084,7 @@ struct rxmac_regs { /* Location: */ | |||
1084 | * 15-0: phy control | 1084 | * 15-0: phy control |
1085 | */ | 1085 | */ |
1086 | 1086 | ||
1087 | #define ET_MAC_MIIMGMT_STAT_PHYCRTL_MASK 0xFFFF; | 1087 | #define ET_MAC_MIIMGMT_STAT_PHYCRTL_MASK 0xFFFF |
1088 | 1088 | ||
1089 | /* | 1089 | /* |
1090 | * structure for MII Management Indicators reg in mac address map. | 1090 | * structure for MII Management Indicators reg in mac address map. |