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 | 01036f2eae3c8797b6a9b007cfd88b7e35cdd3ee (patch) | |
tree | f77965d12c741b3b61d144b887ac3e3efd8669e2 /target/linux/ar71xx/files | |
parent | 691b20bcaf059337604de0b089b602da1a4dde88 (diff) | |
download | upstream-01036f2eae3c8797b6a9b007cfd88b7e35cdd3ee.tar.gz upstream-01036f2eae3c8797b6a9b007cfd88b7e35cdd3ee.tar.bz2 upstream-01036f2eae3c8797b6a9b007cfd88b7e35cdd3ee.zip |
ar71xx: allow to attach the internal switch for AR934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29550 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files')
-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 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; |