diff options
author | John Crispin <blogic@openwrt.org> | 2012-09-28 20:57:06 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2012-09-28 20:57:06 +0000 |
commit | e179b44f1d2fc62912cd5dbe6f9d4126bd38938f (patch) | |
tree | 34f5a82cfc83268d7eab68f3e4f7f4399d479a4f /target | |
parent | e1396c49c0edb8dad267fe453ecc3cb9d51d94c1 (diff) | |
download | upstream-e179b44f1d2fc62912cd5dbe6f9d4126bd38938f.tar.gz upstream-e179b44f1d2fc62912cd5dbe6f9d4126bd38938f.tar.bz2 upstream-e179b44f1d2fc62912cd5dbe6f9d4126bd38938f.zip |
[lantiq] tapi was not registeredproperly for most arcadyan boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33591 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/lantiq/files/arch/mips/lantiq/xway/mach-arv.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/lantiq/files/arch/mips/lantiq/xway/mach-arv.c b/target/linux/lantiq/files/arch/mips/lantiq/xway/mach-arv.c index 3d0e43932a..6857e993d2 100644 --- a/target/linux/lantiq/files/arch/mips/lantiq/xway/mach-arv.c +++ b/target/linux/lantiq/files/arch/mips/lantiq/xway/mach-arv.c @@ -535,6 +535,7 @@ arv4518pw_init(void) arv_register_ethernet(ARV4518PW_MAC_ADDR); arv_register_ath5k(ARV4518PW_ATH_ADDR, ARV4518PW_MAC_ADDR); ltq_register_ath5k(arv_ath5k_eeprom_data, arv_athxk_eeprom_mac); + ltq_register_tapi(); gpio_request(ARV4518PW_SWITCH_RESET, "switch"); gpio_direction_output(ARV4518PW_SWITCH_RESET, 1); @@ -567,6 +568,7 @@ arv4519pw_init(void) arv_register_ethernet(ARV4519PW_MAC_ADDR); arv_register_ath5k(ARV4519PW_ATH_ADDR, ARV4519PW_MAC_ADDR); ltq_register_ath5k(arv_ath5k_eeprom_data, arv_athxk_eeprom_mac); + ltq_register_tapi(); gpio_request(ARV4519PW_RELAY, "relay"); gpio_direction_output(ARV4519PW_RELAY, 1); @@ -598,6 +600,7 @@ arv4520pw_init(void) arv_register_ethernet(ARV4520PW_MAC_ADDR); ltq_register_rt2x00(NULL, (const u8 *) ltq_eth_data.mac.sa_data); xway_register_dwc(ARV4520PW_USB); + ltq_register_tapi(); gpio_request(ARV4520PW_SWITCH_RESET, "switch"); gpio_set_value(ARV4520PW_SWITCH_RESET, 1); @@ -627,6 +630,7 @@ arv452Cpw_init(void) arv_register_ethernet(ARV452CPW_MAC_ADDR); arv_register_ath5k(ARV452CPW_ATH_ADDR, ARV452CPW_MAC_ADDR); ltq_register_ath5k(arv_ath5k_eeprom_data, arv_athxk_eeprom_mac); + ltq_register_tapi(); gpio_request(ARV452CPW_SWITCH_RESET, "switch"); gpio_set_value(ARV452CPW_SWITCH_RESET, 1); @@ -663,6 +667,7 @@ arv4525pw_init(void) ltq_register_ath5k(arv_ath5k_eeprom_data, arv_athxk_eeprom_mac); ltq_eth_data.mii_mode = PHY_INTERFACE_MODE_MII; arv_register_ethernet(ARV4525PW_MAC_ADDR); + ltq_register_tapi(); } MIPS_MACHINE(LANTIQ_MACH_ARV4525PW, @@ -715,6 +720,7 @@ arv7518pw_init(void) arv_register_ath9k(ARV7518PW_ATH_ADDR, ARV7518PW_MAC_ADDR); ltq_register_ath9k(arv_ath9k_eeprom_data, arv_athxk_eeprom_mac); ltq_pci_ath_fixup(14, arv_ath9k_eeprom_data); + ltq_register_tapi(); gpio_request(ARV7518PW_SWITCH_RESET, "switch"); gpio_direction_output(ARV7518PW_SWITCH_RESET, 1); @@ -744,6 +750,7 @@ arv752dpw22_init(void) ltq_register_pci(<q_pci_data); xway_register_dwc(ARV752DPW22_USB); arv_register_ethernet(ARV752DPW22_MAC_ADDR); + ltq_register_tapi(); gpio_request(ARV752DPW22_RELAY, "relay"); gpio_set_value(ARV752DPW22_RELAY, 1); @@ -770,6 +777,7 @@ arv752dpw_init(void) ltq_pci_data.irq[14] = (INT_NUM_IM3_IRL0 + 31); ltq_pci_data.gpio |= PCI_EXIN1 | PCI_REQ2; ltq_register_pci(<q_pci_data); + ltq_register_tapi(); xway_register_dwc(ARV752DPW22_USB); ltq_register_rt2x00("RT2860.eeprom", NULL); arv_register_ethernet(ARV752DPW22_MAC_ADDR); |