diff options
author | kan <kan@FreeBSD.org> | 2010-02-19 17:37:46 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2010-02-19 17:37:46 +0000 |
commit | 6133908f1e7a83c72272110726f25646596a038d (patch) | |
tree | 353d45b00902eada5abdd34ab362693af3d7c271 /sys/mips/atheros/ar71xxreg.h | |
parent | 94f94d90e4d4ea34b9d57a70bf83b7d8d6c11e2a (diff) | |
download | FreeBSD-src-6133908f1e7a83c72272110726f25646596a038d.zip FreeBSD-src-6133908f1e7a83c72272110726f25646596a038d.tar.gz |
Define DMA_RX_STATUS_OVERFLOW with correct value.
The RX overflow is reported in bit 2 on real hardware and Linux driver
for the same device already has this defined correctly.
This fixes frequent interrupt storms seen on RouterStation Pro boards.
Discussed with: gonzo
Diffstat (limited to 'sys/mips/atheros/ar71xxreg.h')
-rw-r--r-- | sys/mips/atheros/ar71xxreg.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/mips/atheros/ar71xxreg.h b/sys/mips/atheros/ar71xxreg.h index 0983966..1908d68 100644 --- a/sys/mips/atheros/ar71xxreg.h +++ b/sys/mips/atheros/ar71xxreg.h @@ -403,9 +403,9 @@ #define AR71XX_DMA_RX_STATUS 0x194 #define DMA_RX_STATUS_PCOUNT_MASK 0xff #define DMA_RX_STATUS_PCOUNT_SHIFT 16 -#define DMA_RX_STATUS_BUS_ERROR (1 << 3) -#define DMA_RX_STATUS_OVERFLOW (1 << 1) -#define DMA_RX_STATUS_PKT_RECVD (1 << 0) +#define DMA_RX_STATUS_BUS_ERROR (1 << 3) +#define DMA_RX_STATUS_OVERFLOW (1 << 2) +#define DMA_RX_STATUS_PKT_RECVD (1 << 0) #define AR71XX_DMA_INTR 0x198 #define AR71XX_DMA_INTR_STATUS 0x19C #define DMA_INTR_ALL ((1 << 8) - 1) |