mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ar71xx: add support for ar7241 and ar7242
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20494 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -248,6 +248,12 @@ static int __init ar724x_pci_setup(void)
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
if (ar71xx_soc == AR71XX_SOC_AR7241 || ar71xx_soc == AR71XX_SOC_AR7242) {
|
||||
t = __raw_readl(base + AR724X_PCI_REG_APP);
|
||||
t |= BIT(16);
|
||||
__raw_writel(t, base + AR724X_PCI_REG_APP);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user