sh_eth: rename *enum*s still not matching register names
Finally, rename the rest of the *enum* tags still not (exactly) matching the abbreviated register names from the manuals... Signed-off-by: Sergey Shtylyov <s.shtylyov@omprussia.ru> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4585b72d97
commit
e2dccaf194
|
@ -171,7 +171,7 @@ enum GECMR_BIT {
|
|||
};
|
||||
|
||||
/* EDMR */
|
||||
enum DMAC_M_BIT {
|
||||
enum EDMR_BIT {
|
||||
EDMR_NBST = 0x80,
|
||||
EDMR_EL = 0x40, /* Litte endian */
|
||||
EDMR_DL1 = 0x20, EDMR_DL0 = 0x10,
|
||||
|
@ -180,13 +180,13 @@ enum DMAC_M_BIT {
|
|||
};
|
||||
|
||||
/* EDTRR */
|
||||
enum DMAC_T_BIT {
|
||||
enum EDTRR_BIT {
|
||||
EDTRR_TRNS_GETHER = 0x03,
|
||||
EDTRR_TRNS_ETHER = 0x01,
|
||||
};
|
||||
|
||||
/* EDRRR */
|
||||
enum EDRRR_R_BIT {
|
||||
enum EDRRR_BIT {
|
||||
EDRRR_R = 0x01,
|
||||
};
|
||||
|
||||
|
@ -339,7 +339,7 @@ enum RMCR_BIT {
|
|||
};
|
||||
|
||||
/* ECMR */
|
||||
enum FELIC_MODE_BIT {
|
||||
enum ECMR_BIT {
|
||||
ECMR_TRCCM = 0x04000000, ECMR_RCSC = 0x00800000,
|
||||
ECMR_DPAD = 0x00200000, ECMR_RZPF = 0x00100000,
|
||||
ECMR_ZPF = 0x00080000, ECMR_PFR = 0x00040000, ECMR_RXF = 0x00020000,
|
||||
|
@ -350,7 +350,7 @@ enum FELIC_MODE_BIT {
|
|||
};
|
||||
|
||||
/* ECSR */
|
||||
enum ECSR_STATUS_BIT {
|
||||
enum ECSR_BIT {
|
||||
ECSR_BRCRX = 0x20, ECSR_PSRTO = 0x10,
|
||||
ECSR_LCHNG = 0x04,
|
||||
ECSR_MPD = 0x02, ECSR_ICD = 0x01,
|
||||
|
@ -360,7 +360,7 @@ enum ECSR_STATUS_BIT {
|
|||
ECSR_ICD | ECSIPR_MPDIP)
|
||||
|
||||
/* ECSIPR */
|
||||
enum ECSIPR_STATUS_MASK_BIT {
|
||||
enum ECSIPR_BIT {
|
||||
ECSIPR_BRCRXIP = 0x20, ECSIPR_PSRTOIP = 0x10,
|
||||
ECSIPR_LCHNGIP = 0x04,
|
||||
ECSIPR_MPDIP = 0x02, ECSIPR_ICDIP = 0x01,
|
||||
|
|
Loading…
Reference in New Issue