diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-09-11 17:44:12 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-09-11 17:44:12 +0000 |
commit | 1bdf65f580b50bacc4637abbb3409546e92653e9 (patch) | |
tree | 7b38a7b782ab7b3b9cd06d1dd929b616234062c8 /target | |
parent | 6d708d8f0274bc173b12577ed02d1e4ab0cdd57d (diff) | |
download | upstream-1bdf65f580b50bacc4637abbb3409546e92653e9.tar.gz upstream-1bdf65f580b50bacc4637abbb3409546e92653e9.tar.bz2 upstream-1bdf65f580b50bacc4637abbb3409546e92653e9.zip |
ar71xx: fix register range check for DMA stuck checks (thx, Frédéric Moulins)
SVN-Revision: 28213
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h index 0222cab797..1076d3c04e 100644 --- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h +++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h @@ -354,7 +354,7 @@ static inline void ag71xx_check_reg_offset(struct ag71xx *ag, unsigned reg) { switch (reg) { case AG71XX_REG_MAC_CFG1 ... AG71XX_REG_MAC_MFL: - case AG71XX_REG_MAC_IFCTL ... AG71XX_REG_INT_STATUS: + case AG71XX_REG_MAC_IFCTL ... AG71XX_REG_TX_SM: case AG71XX_REG_MII_CFG: break; |