ar71xx: fix register range check for DMA stuck checks (thx, Frédéric Moulins)
SVN-Revision: 28213
This commit is contained in:
parent
6d708d8f02
commit
1bdf65f580
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user