aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-11-27 17:31:22 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-11-27 17:31:22 +0000
commitaf8da9031ff6ccc030ffad0a1b9eadad15057596 (patch)
tree3dad49d89c79e32371f3f0e19fa54283f2551513 /target/linux/ar71xx/files/arch
parent27cbe5f744872d20b28b745b64a0f09918d16e41 (diff)
downloadmaster-187ad058-af8da9031ff6ccc030ffad0a1b9eadad15057596.tar.gz
master-187ad058-af8da9031ff6ccc030ffad0a1b9eadad15057596.tar.bz2
master-187ad058-af8da9031ff6ccc030ffad0a1b9eadad15057596.zip
[ar71xx] ag71xx driver: introduce new flag for the AR913x SOCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13376 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/platform.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/platform.c b/target/linux/ar71xx/files/arch/mips/ar71xx/platform.c
index b2add194f7..09e6b2b78f 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/platform.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/platform.c
@@ -393,6 +393,7 @@ void __init ar71xx_add_device_eth(unsigned int id)
: ar91xx_ddr_flush_ge0;
pdata->set_pll = id ? ar91xx_set_pll_ge1
: ar91xx_set_pll_ge0;
+ pdata->is_ar91xx = 1;
break;
case AR71XX_SOC_AR9132:
@@ -400,6 +401,7 @@ void __init ar71xx_add_device_eth(unsigned int id)
: ar91xx_ddr_flush_ge0;
pdata->set_pll = id ? ar91xx_set_pll_ge1
: ar91xx_set_pll_ge0;
+ pdata->is_ar91xx = 1;
pdata->has_gbit = 1;
break;