diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-12-15 22:25:22 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-12-15 22:25:22 +0000 |
commit | e2a546d475135e3e6755fc9a5f5fb55af1c9fb3e (patch) | |
tree | 5a130b6daa224e895723bf7c84347eafc1e239e4 /target | |
parent | 9ae65588d834ca05168c292aeab1ba08769ef63e (diff) | |
download | mtk-20170518-e2a546d475135e3e6755fc9a5f5fb55af1c9fb3e.zip mtk-20170518-e2a546d475135e3e6755fc9a5f5fb55af1c9fb3e.tar.gz mtk-20170518-e2a546d475135e3e6755fc9a5f5fb55af1c9fb3e.tar.bz2 |
ar71xx: allow to attach the internal switch for AR934x
SVN-Revision: 29550
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/devices.c | 2 |
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 966afea..75b24b0 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; |