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 | 8d0d9487dc813eaf9745c84085c1b39f06db58ba (patch) | |
tree | 12d39f9e2aef0ddf8a37aa9abc4edc6677c704b6 /target/linux/ar71xx/files/drivers/net | |
parent | 3aa2b3cb28d3f06e1fdc850c74d02dc11d7ad03f (diff) | |
download | upstream-8d0d9487dc813eaf9745c84085c1b39f06db58ba.tar.gz upstream-8d0d9487dc813eaf9745c84085c1b39f06db58ba.tar.bz2 upstream-8d0d9487dc813eaf9745c84085c1b39f06db58ba.zip |
ar71xx: fix register range check for DMA stuck checks (thx, Frédéric Moulins)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28213 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/drivers/net')
-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; |