From 3c978d1604e28025c03bb1c8ab26648344f9beea Mon Sep 17 00:00:00 2001
From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Sun, 11 Sep 2011 17:44:12 +0000
Subject: [PATCH] =?utf8?q?ar71xx:=20fix=20register=20range=20check=20for?=
 =?utf8?q?=20DMA=20stuck=20checks=20(thx,=20Fr=C3=A9d=C3=A9ric=20Moulins)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28213 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h
index 0222cab79..1076d3c04 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;
 
-- 
2.20.1