aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-12-15 22:25:22 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-12-15 22:25:22 +0000
commite2a546d475135e3e6755fc9a5f5fb55af1c9fb3e (patch)
tree5a130b6daa224e895723bf7c84347eafc1e239e4 /target/linux/ar71xx/files/arch
parent9ae65588d834ca05168c292aeab1ba08769ef63e (diff)
downloadupstream-e2a546d475135e3e6755fc9a5f5fb55af1c9fb3e.tar.gz
upstream-e2a546d475135e3e6755fc9a5f5fb55af1c9fb3e.tar.bz2
upstream-e2a546d475135e3e6755fc9a5f5fb55af1c9fb3e.zip
ar71xx: allow to attach the internal switch for AR934x
SVN-Revision: 29550
Diffstat (limited to 'target/linux/ar71xx/files/arch')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/devices.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c
index 966afeac62..75b24b0043 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c
@@ -914,6 +914,8 @@ void __init ar71xx_add_device_eth(unsigned int id)
AR934X_RESET_GE1_MDIO;
pdata->ddr_flush = ar934x_ddr_flush_ge1;
pdata->set_speed = ar934x_set_speed_ge1;
+
+ pdata->switch_data = &ar71xx_switch_data;
}
pdata->has_gbit = 1;