aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/dsa/lantiq_gswip.c
diff options
context:
space:
mode:
authorGravatar Aleksander Jan Bajkowski <olek2@wp.pl> 2021-10-16 00:10:20 +0200
committerGravatar David S. Miller <davem@davemloft.net> 2021-10-18 13:21:49 +0100
commit66d262804a2276721eac86cf18fcd61046149193 (patch)
tree6926b48f78c994d829cc8930d5e371debb862bab /drivers/net/dsa/lantiq_gswip.c
parentMerge tag 'linux-can-fixes-for-5.15-20211017' of git://git.kernel.org/pub/scm... (diff)
downloadlinux-66d262804a2276721eac86cf18fcd61046149193.tar.gz
linux-66d262804a2276721eac86cf18fcd61046149193.tar.bz2
linux-66d262804a2276721eac86cf18fcd61046149193.zip
net: dsa: lantiq_gswip: fix register definition
I compared the register definitions with the D-Link DWR-966 GPL sources and found that the PUAFD field definition was incorrect. This definition is unused and causes no issues. Fixes: 14fceff4771e ("net: dsa: Add Lantiq / Intel DSA driver for vrx200") Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl> Acked-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/lantiq_gswip.c')
-rw-r--r--drivers/net/dsa/lantiq_gswip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/lantiq_gswip.c b/drivers/net/dsa/lantiq_gswip.c
index 3ff4b7e177f3..dbd4486a173f 100644
--- a/drivers/net/dsa/lantiq_gswip.c
+++ b/drivers/net/dsa/lantiq_gswip.c
@@ -230,7 +230,7 @@
#define GSWIP_SDMA_PCTRLp(p) (0xBC0 + ((p) * 0x6))
#define GSWIP_SDMA_PCTRL_EN BIT(0) /* SDMA Port Enable */
#define GSWIP_SDMA_PCTRL_FCEN BIT(1) /* Flow Control Enable */
-#define GSWIP_SDMA_PCTRL_PAUFWD BIT(1) /* Pause Frame Forwarding */
+#define GSWIP_SDMA_PCTRL_PAUFWD BIT(3) /* Pause Frame Forwarding */
#define GSWIP_TABLE_ACTIVE_VLAN 0x01
#define GSWIP_TABLE_VLAN_MAPPING 0x02