ar71xx: fix register range check for DMA stuck checks (thx, Frédéric Moulins), backpo...
authorFelix Fietkau <nbd@openwrt.org>
Sun, 11 Sep 2011 17:45:04 +0000 (17:45 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 11 Sep 2011 17:45:04 +0000 (17:45 +0000)
SVN-Revision: 28214

target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h

index 919a8fe61f2d26d48f98f7d5c9180704e51857b3..8ca5c8983f072d4601c8d9e63151eb38c5e690db 100644 (file)
@@ -352,7 +352,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;