ar71xx: allow to attach the internal switch for AR934x
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 15 Dec 2011 22:25:22 +0000 (22:25 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 15 Dec 2011 22:25:22 +0000 (22:25 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29550 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ar71xx/files/arch/mips/ar71xx/devices.c

index 966afea..75b24b0 100644 (file)
@@ -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;
                                           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;
                }
 
                pdata->has_gbit = 1;
This page took 0.023728 seconds and 4 git commands to generate.