Changeset 28989


Ignore:
Timestamp:
2011-11-12T13:50:19+01:00 (6 years ago)
Author:
juhosg
Message:

ar71xx: register the second ethernet interface on the DB120 board

File:
1 edited

Legend:

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

    r28986 r28989  
    139139        ar71xx_add_device_eth(0); 
    140140 
     141        /* GMAC1 is connected to the internal switch */ 
     142        ar71xx_init_mac(ar71xx_eth1_data.mac_addr, art + DB120_MAC1_OFFSET, 0); 
     143        ar71xx_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_GMII; 
     144        ar71xx_eth1_data.speed = SPEED_100; 
     145        ar71xx_eth1_data.duplex = DUPLEX_FULL; 
     146 
     147        ar71xx_add_device_eth(1); 
     148 
    141149        ar9xxx_add_device_wmac(art + DB120_CALDATA_OFFSET, 
    142150                                art + DB120_WMAC_MAC_OFFSET); 
Note: See TracChangeset for help on using the changeset viewer.