ar71xx: add support for the jjPlus JA76PF2 board
[openwrt.git] / target / linux / ar71xx / files / arch / mips / ath79 / dev-eth.c
index cae5af1..2a55d33 100644 (file)
@@ -797,6 +797,10 @@ void __init ath79_register_eth(unsigned int id)
                        pdata->set_speed = ath79_set_speed_dummy;
 
                        pdata->switch_data = &ath79_switch_data;
                        pdata->set_speed = ath79_set_speed_dummy;
 
                        pdata->switch_data = &ath79_switch_data;
+
+                       /* reset the built-in switch */
+                       ath79_device_reset_set(AR934X_RESET_ETH_SWITCH);
+                       ath79_device_reset_clear(AR934X_RESET_ETH_SWITCH);
                }
 
                pdata->ddr_flush = ath79_ddr_no_flush;
                }
 
                pdata->ddr_flush = ath79_ddr_no_flush;
This page took 0.028523 seconds and 4 git commands to generate.