Ignore:
Timestamp:
2011-11-14T08:38:09+01:00 (5 years ago)
Author:
juhosg
Message:

ar71xx: remove hardwired interface parameters from mach-* files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c

    r28982 r29103  
    250250        ar71xx_init_mac(ar71xx_eth0_data.mac_addr, mac1, 0); 
    251251        ar71xx_init_mac(ar71xx_eth1_data.mac_addr, mac2, 0); 
    252         ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII; 
    253         ar71xx_eth0_data.speed = SPEED_100; 
    254         ar71xx_eth0_data.duplex = DUPLEX_FULL; 
    255         ar71xx_eth0_data.phy_mask = UBNT_M_WAN_PHYMASK; 
    256  
    257252        ar71xx_add_device_eth(0); 
    258253 
     
    283278{ 
    284279        ubnt_m_setup(); 
    285  
    286         ar71xx_eth1_data.has_ar7240_switch = 1; 
    287         ar71xx_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_RMII; 
    288         ar71xx_eth1_data.speed = SPEED_1000; 
    289         ar71xx_eth1_data.duplex = DUPLEX_FULL; 
    290  
    291280        ar71xx_add_device_eth(1); 
    292281} 
     
    317306 
    318307        ar71xx_init_mac(ar71xx_eth0_data.mac_addr, mac, 0); 
    319         ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII; 
    320         ar71xx_eth0_data.speed = SPEED_100; 
    321         ar71xx_eth0_data.duplex = DUPLEX_FULL; 
    322         ar71xx_eth0_data.phy_mask = UBNT_M_WAN_PHYMASK; 
    323  
    324308        ar71xx_add_device_eth(0); 
    325309 
Note: See TracChangeset for help on using the changeset viewer.