From: Felix Fietkau Date: Sun, 11 Sep 2011 17:44:12 +0000 (+0000) Subject: ar71xx: fix register range check for DMA stuck checks (thx, Frédéric Moulins) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6d5f28ba605e13bf02d2b5c73c0c1b69b4310b9b;p=openwrt%2Fsvn-archive%2Farchive.git ar71xx: fix register range check for DMA stuck checks (thx, Frédéric Moulins) SVN-Revision: 28213 --- 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;