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-om2p.c

    r28982 r29103  
    9999        ar71xx_init_mac(ar71xx_eth1_data.mac_addr, mac2, 0); 
    100100 
    101         ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_MII; 
    102         ar71xx_eth0_data.speed = SPEED_100; 
    103         ar71xx_eth0_data.duplex = DUPLEX_FULL; 
    104         ar71xx_eth0_data.phy_mask = OM2P_WAN_PHYMASK; 
    105  
    106         ar71xx_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_RMII; 
    107         ar71xx_eth1_data.speed = SPEED_1000; 
    108         ar71xx_eth1_data.duplex = DUPLEX_FULL; 
    109         ar71xx_eth1_data.has_ar7240_switch = 1; 
    110  
    111101        ar71xx_add_device_eth(0); 
    112102        ar71xx_add_device_eth(1); 
Note: See TracChangeset for help on using the changeset viewer.