Commit aebe2b56 authored by Gabor Juhos's avatar Gabor Juhos Committed by John W. Linville

ath9k: fix AR_TXCFG_DMASZ_MASK value

The current bitmask is invalid, because the tx dma size is a 3 bit wide
value.
Signed-off-by: default avatarGabor Juhos <juhosg@openwrt.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent b75bc150
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
#define AR_DMASIZE_512B 0x00000007 #define AR_DMASIZE_512B 0x00000007
#define AR_TXCFG 0x0030 #define AR_TXCFG 0x0030
#define AR_TXCFG_DMASZ_MASK 0x00000003 #define AR_TXCFG_DMASZ_MASK 0x00000007
#define AR_TXCFG_DMASZ_4B 0 #define AR_TXCFG_DMASZ_4B 0
#define AR_TXCFG_DMASZ_8B 1 #define AR_TXCFG_DMASZ_8B 1
#define AR_TXCFG_DMASZ_16B 2 #define AR_TXCFG_DMASZ_16B 2
......
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