Commit c8bbe37a authored by Sergei Shtylyov's avatar Sergei Shtylyov Committed by David S. Miller

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: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a80c3de7
...@@ -302,11 +302,11 @@ enum FCFTR_BIT { ...@@ -302,11 +302,11 @@ enum FCFTR_BIT {
#define DEFAULT_FIFO_F_D_RFF (FCFTR_RFF2 | FCFTR_RFF1 | FCFTR_RFF0) #define DEFAULT_FIFO_F_D_RFF (FCFTR_RFF2 | FCFTR_RFF1 | FCFTR_RFF0)
#define DEFAULT_FIFO_F_D_RFD (FCFTR_RFD2 | FCFTR_RFD1 | FCFTR_RFD0) #define DEFAULT_FIFO_F_D_RFD (FCFTR_RFD2 | FCFTR_RFD1 | FCFTR_RFD0)
/* Transfer descriptor bit */ /* Transmit descriptor bit */
enum TD_STS_BIT { enum TD_STS_BIT {
TD_TACT = 0x80000000, TD_TACT = 0x80000000, TD_TDLE = 0x40000000,
TD_TDLE = 0x40000000, TD_TFP1 = 0x20000000, TD_TFP1 = 0x20000000, TD_TFP0 = 0x10000000,
TD_TFP0 = 0x10000000, TD_TFE = 0x08000000, TD_TWBI = 0x04000000,
}; };
#define TDF1ST TD_TFP1 #define TDF1ST TD_TFP1
#define TDFEND TD_TFP0 #define TDFEND TD_TFP0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment