aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/net/phy/ar8327.h
diff options
context:
space:
mode:
authorGünther Kelleter <guenther.kelleter@devolo.de>2018-11-26 15:44:31 +0100
committerJohn Crispin <john@phrozen.org>2018-11-26 18:41:21 +0100
commit33878b0a40707a53920ec72a92430ab420b0893f (patch)
tree913763fe9579e7d3186a237e07e5dea2e9905926 /target/linux/generic/files/drivers/net/phy/ar8327.h
parentbe3e69d99189636d5f0854bd3a91e004b2c370e0 (diff)
downloadupstream-33878b0a40707a53920ec72a92430ab420b0893f.tar.gz
upstream-33878b0a40707a53920ec72a92430ab420b0893f.tar.bz2
upstream-33878b0a40707a53920ec72a92430ab420b0893f.zip
kernel: ar8xxx: get_arl_table now shows all ports of an entry
Multicast ARL entries can have multiple destination ports. Get and dump all destination ports of each entry, not just the lowest. Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/ar8327.h')
-rw-r--r--target/linux/generic/files/drivers/net/phy/ar8327.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/ar8327.h b/target/linux/generic/files/drivers/net/phy/ar8327.h
index d53ef885b1..38e33ea57e 100644
--- a/target/linux/generic/files/drivers/net/phy/ar8327.h
+++ b/target/linux/generic/files/drivers/net/phy/ar8327.h
@@ -199,6 +199,7 @@
#define AR8327_ATU_ADDR5 BITS(8, 8)
#define AR8327_ATU_ADDR5_S 8
#define AR8327_ATU_PORTS BITS(16, 7)
+#define AR8327_ATU_PORTS_S 16
#define AR8327_ATU_PORT0 BIT(16)
#define AR8327_ATU_PORT1 BIT(17)
#define AR8327_ATU_PORT2 BIT(18)