Changeset 36036


Ignore:
Timestamp:
2013-03-15T15:35:48+01:00 (5 years ago)
Author:
juhosg
Message:

ar71xx: Error fix in Kernel for MR3420v2 Ethernet Switch configuration

Error in using another MDIO (AP123 platform using only one GE1 device
for eth0 and eth1) for the router mr3420v2.
?onfirmed: https://forum.openwrt.org/viewtopic.php?pid=194779#p194779

Routers in this sense are the same and the only difference is: USB
port, USB led, instead of the GPIO-switch we have GPIO-button.

Signed-off-by: Dmytro <dioptimizer@…>
Signed-off-by: Gabor Juhos <juhosg@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr841n-v8.c

    r35961 r36036  
    137137        ath79_setup_ar934x_eth_cfg(AR934X_ETH_CFG_SW_PHY_SWAP); 
    138138 
     139        ath79_register_mdio(1, 0x0); 
     140 
    139141        ath79_init_mac(ath79_eth0_data.mac_addr, mac, -1); 
    140142        ath79_init_mac(ath79_eth1_data.mac_addr, mac, 0); 
     
    165167                                        ARRAY_SIZE(tl_wr841n_v8_gpio_keys), 
    166168                                        tl_wr841n_v8_gpio_keys); 
    167  
    168         ath79_register_mdio(1, 0x0); 
    169169} 
    170170 
     
    183183                                tl_mr3420v2_gpio_keys); 
    184184 
    185         ath79_register_mdio(0, 0x0); 
    186  
    187185        /* enable power for the USB port */ 
    188186        gpio_request_one(TL_MR3420V2_GPIO_USB_POWER, 
Note: See TracChangeset for help on using the changeset viewer.