Ignore:
Timestamp:
2010-10-14T02:17:13+02:00 (6 years ago)
Author:
nbd
Message:

ar71xx: merge dir-600-a1 fix from r23432 (fixes #7563)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-600-a1.c

    r20095 r23434  
    131131                                        dir_600_a1_gpio_buttons); 
    132132 
    133         ap91_eth_init(mac, NULL); 
     133        ar71xx_eth1_data.has_ar7240_switch = 1; 
     134        ar71xx_set_mac_base(mac); 
     135 
     136        /* WAN port */ 
     137        ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII; 
     138        ar71xx_eth0_data.speed = SPEED_100; 
     139        ar71xx_eth0_data.duplex = DUPLEX_FULL; 
     140 
     141        /* LAN ports */ 
     142        ar71xx_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_RMII; 
     143        ar71xx_eth1_data.speed = SPEED_1000; 
     144        ar71xx_eth1_data.duplex = DUPLEX_FULL; 
     145 
     146        ar71xx_add_device_mdio(0x0); 
     147        ar71xx_add_device_eth(1); 
     148        ar71xx_add_device_eth(0); 
     149 
    134150        ap91_pci_init(ee, mac); 
    135151} 
Note: See TracChangeset for help on using the changeset viewer.