Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26512
spin_unlock_irqrestore(&ar71xx_device_lock, flags);
break;
spin_unlock_irqrestore(&ar71xx_device_lock, flags);
break;
+ case AR71XX_SOC_AR9341:
+ case AR71XX_SOC_AR9342:
+ case AR71XX_SOC_AR9344:
+ spin_lock_irqsave(&ar71xx_device_lock, flags);
+ t = ar71xx_reset_rr(AR934X_RESET_REG_RESET_MODULE);
+ ar71xx_reset_wr(AR934X_RESET_REG_RESET_MODULE, t | mask);
+ spin_unlock_irqrestore(&ar71xx_device_lock, flags);
+ break;
+
spin_unlock_irqrestore(&ar71xx_device_lock, flags);
break;
spin_unlock_irqrestore(&ar71xx_device_lock, flags);
break;
+ case AR71XX_SOC_AR9341:
+ case AR71XX_SOC_AR9342:
+ case AR71XX_SOC_AR9344:
+ spin_lock_irqsave(&ar71xx_device_lock, flags);
+ t = ar71xx_reset_rr(AR934X_RESET_REG_RESET_MODULE);
+ ar71xx_reset_wr(AR934X_RESET_REG_RESET_MODULE, t & ~mask);
+ spin_unlock_irqrestore(&ar71xx_device_lock, flags);
+ break;
+
spin_unlock_irqrestore(&ar71xx_device_lock, flags);
break;
spin_unlock_irqrestore(&ar71xx_device_lock, flags);
break;
+ case AR71XX_SOC_AR9341:
+ case AR71XX_SOC_AR9342:
+ case AR71XX_SOC_AR9344:
+ spin_lock_irqsave(&ar71xx_device_lock, flags);
+ t = ar71xx_reset_rr(AR934X_RESET_REG_RESET_MODULE);
+ spin_unlock_irqrestore(&ar71xx_device_lock, flags);
+ break;
+