projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca25ebe
)
net: macb: Correct CAPS mask
author
Harini Katakam
<
[email protected]
>
Fri, 5 Aug 2016 05:01:58 +0000
(10:31 +0530)
committer
David S. Miller
<
[email protected]
>
Sun, 7 Aug 2016 00:53:06 +0000
(20:53 -0400)
USRIO and JUMBO CAPS have the same mask.
Fix the same.
Fixes: ce721a702197 ("net: ethernet: cadence-macb: Add disabled usrio caps")
Cc:
[email protected]
# v4.5+
Signed-off-by: Harini Katakam <
[email protected]
>
Acked-by: Nicolas Ferre <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/cadence/macb.h
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/cadence/macb.h
b/drivers/net/ethernet/cadence/macb.h
index 36893d8958d4d6ce3d73575149f44a68c99e0569..b6fcf10621b63c39975c3ce53528d9497ce628a2 100644
(file)
--- a/
drivers/net/ethernet/cadence/macb.h
+++ b/
drivers/net/ethernet/cadence/macb.h
@@
-403,11
+403,11
@@
#define MACB_CAPS_USRIO_DEFAULT_IS_MII_GMII 0x00000004
#define MACB_CAPS_NO_GIGABIT_HALF 0x00000008
#define MACB_CAPS_USRIO_DISABLED 0x00000010
+#define MACB_CAPS_JUMBO 0x00000020
#define MACB_CAPS_FIFO_MODE 0x10000000
#define MACB_CAPS_GIGABIT_MODE_AVAILABLE 0x20000000
#define MACB_CAPS_SG_DISABLED 0x40000000
#define MACB_CAPS_MACB_IS_GEM 0x80000000
-#define MACB_CAPS_JUMBO 0x00000010
/* Bit manipulation macros */
#define MACB_BIT(name) \