Ignore:
Timestamp:
2011-04-28T23:27:42+02:00 (5 years ago)
Author:
nbd
Message:

ar71xx: use the ar8316 switch driver on the PB92 board and add a matching default network config

File:
1 edited

Legend:

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

    r26603 r26779  
    8787        ar71xx_add_device_m25p80(&pb92_flash_data); 
    8888 
    89         ar71xx_add_device_mdio(~0); 
     89        ar71xx_add_device_mdio(~BIT(0)); 
    9090        ar71xx_init_mac(ar71xx_eth0_data.mac_addr, mac, 0); 
    91         ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII; 
     91        ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII; 
    9292        ar71xx_eth0_data.speed = SPEED_1000; 
    9393        ar71xx_eth0_data.duplex = DUPLEX_FULL; 
    94  
    95         ar71xx_init_mac(ar71xx_eth1_data.mac_addr, mac, 1); 
    96         ar71xx_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_RMII; 
    97         ar71xx_eth1_data.speed = SPEED_1000; 
    98         ar71xx_eth1_data.duplex = DUPLEX_FULL; 
     94        ar71xx_eth0_data.phy_mask = BIT(0); 
    9995 
    10096        ar71xx_add_device_eth(0); 
    101         ar71xx_add_device_eth(1); 
    10297 
    10398        ar71xx_register_gpio_keys_polled(-1, PB92_KEYS_POLL_INTERVAL, 
Note: See TracChangeset for help on using the changeset viewer.