Commit 94864069 authored by Ansuel Smith's avatar Ansuel Smith Committed by David S. Miller

net: mdio: ipq8064: clean whitespaces in define

Fix mixed whitespace and tab for define spacing.
Signed-off-by: default avatarAnsuel Smith <ansuelsmth@gmail.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ddd998af
......@@ -18,12 +18,13 @@
#define MII_ADDR_REG_ADDR 0x10
#define MII_BUSY BIT(0)
#define MII_WRITE BIT(1)
#define MII_CLKRANGE_60_100M (0 << 2)
#define MII_CLKRANGE_100_150M (1 << 2)
#define MII_CLKRANGE_20_35M (2 << 2)
#define MII_CLKRANGE_35_60M (3 << 2)
#define MII_CLKRANGE_150_250M (4 << 2)
#define MII_CLKRANGE_250_300M (5 << 2)
#define MII_CLKRANGE(x) ((x) << 2)
#define MII_CLKRANGE_60_100M MII_CLKRANGE(0)
#define MII_CLKRANGE_100_150M MII_CLKRANGE(1)
#define MII_CLKRANGE_20_35M MII_CLKRANGE(2)
#define MII_CLKRANGE_35_60M MII_CLKRANGE(3)
#define MII_CLKRANGE_150_250M MII_CLKRANGE(4)
#define MII_CLKRANGE_250_300M MII_CLKRANGE(5)
#define MII_CLKRANGE_MASK GENMASK(4, 2)
#define MII_REG_SHIFT 6
#define MII_REG_MASK GENMASK(10, 6)
......
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