Ignore:
Timestamp:
2010-04-09T14:06:23+02:00 (6 years ago)
Author:
juhosg
Message:

backfire: ar71xx: update phy masks for the Planex boards (backport of r20754)

This avoids probing of the AR8216 chip on the eth0 interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/target/linux/ar71xx/files/arch/mips/ar71xx/mach-mzk-w300nh.c

    r20358 r20763  
    126126}; 
    127127 
     128#define MZK_W300NH_WAN_PHYMASK  BIT(4) 
     129#define MZK_W300NH_MDIO_MASK    (~MZK_W300NH_WAN_PHYMASK) 
     130 
    128131static void __init mzk_w300nh_setup(void) 
    129132{ 
     
    132135        ar71xx_set_mac_base(eeprom); 
    133136 
    134         ar71xx_add_device_mdio(0x0); 
     137        ar71xx_add_device_mdio(MZK_W300NH_MDIO_MASK); 
    135138 
    136139        ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII; 
     
    140143 
    141144        ar71xx_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_RMII; 
    142         ar71xx_eth1_data.phy_mask = 0x10; 
     145        ar71xx_eth1_data.phy_mask = MZK_W300NH_WAN_PHYMASK; 
    143146 
    144147        ar71xx_add_device_eth(0); 
Note: See TracChangeset for help on using the changeset viewer.