aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/renesas
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2013-06-19 18:26:14 -0400
committerDavid S. Miller <davem@davemloft.net>2013-06-19 20:01:39 -0400
commitc8bbe37aa60a3ef694df65fed4e905bd4b1bd73c (patch)
treeaac8519f823c062605d695b16b7ac83cf1dc8e28 /drivers/net/ethernet/renesas
parenta80c3de714bc4855747faf5f00e8203fb800e6bb (diff)
sh_eth: cleanup 'enum TD_STS_BIT'
Fix the comment to 'enum TD_STS_BIT', reformat the values, and add a couple of values missing before (though unused by the driver). Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/renesas')
-rw-r--r--drivers/net/ethernet/renesas/sh_eth.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ethernet/renesas/sh_eth.h b/drivers/net/ethernet/renesas/sh_eth.h
index 87c7ae9e10cc..7540dc35fdb8 100644
--- a/drivers/net/ethernet/renesas/sh_eth.h
+++ b/drivers/net/ethernet/renesas/sh_eth.h
@@ -302,11 +302,11 @@ enum FCFTR_BIT {
302#define DEFAULT_FIFO_F_D_RFF (FCFTR_RFF2 | FCFTR_RFF1 | FCFTR_RFF0) 302#define DEFAULT_FIFO_F_D_RFF (FCFTR_RFF2 | FCFTR_RFF1 | FCFTR_RFF0)
303#define DEFAULT_FIFO_F_D_RFD (FCFTR_RFD2 | FCFTR_RFD1 | FCFTR_RFD0) 303#define DEFAULT_FIFO_F_D_RFD (FCFTR_RFD2 | FCFTR_RFD1 | FCFTR_RFD0)
304 304
305/* Transfer descriptor bit */ 305/* Transmit descriptor bit */
306enum TD_STS_BIT { 306enum TD_STS_BIT {
307 TD_TACT = 0x80000000, 307 TD_TACT = 0x80000000, TD_TDLE = 0x40000000,
308 TD_TDLE = 0x40000000, TD_TFP1 = 0x20000000, 308 TD_TFP1 = 0x20000000, TD_TFP0 = 0x10000000,
309 TD_TFP0 = 0x10000000, 309 TD_TFE = 0x08000000, TD_TWBI = 0x04000000,
310}; 310};
311#define TDF1ST TD_TFP1 311#define TDF1ST TD_TFP1
312#define TDFEND TD_TFP0 312#define TDFEND TD_TFP0