diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2015-08-10 09:09:46 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-11 12:03:18 -0700 |
commit | a08df0f0f745400249b0a95c704e569a4dd84fd7 (patch) | |
tree | efe53d6dc8da3fd61d1988ced91c324bc9f2cd3e /drivers/net/dsa/mv88e6xxx.h | |
parent | cdf0969763e020923abe28fddc605add572febc2 (diff) |
net: dsa: mv88e6xxx: define GLOBAL_ATU_FID
Define register GLOBAL_ATU_FID instead of the raw value 0x01.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx.h')
-rw-r--r-- | drivers/net/dsa/mv88e6xxx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/mv88e6xxx.h b/drivers/net/dsa/mv88e6xxx.h index 8b017d65b691..76d822a25fee 100644 --- a/drivers/net/dsa/mv88e6xxx.h +++ b/drivers/net/dsa/mv88e6xxx.h @@ -169,6 +169,7 @@ #define GLOBAL_MAC_01 0x01 #define GLOBAL_MAC_23 0x02 #define GLOBAL_MAC_45 0x03 +#define GLOBAL_ATU_FID 0x01 /* 6097 6165 6351 6352 */ #define GLOBAL_CONTROL 0x04 #define GLOBAL_CONTROL_SW_RESET BIT(15) #define GLOBAL_CONTROL_PPU_ENABLE BIT(14) |