Changeset 23659 for branches/backfire


Ignore:
Timestamp:
2010-10-27T13:34:36+02:00 (6 years ago)
Author:
jow
Message:

[backfire] merge r23127

Location:
branches/backfire/target/linux/generic-2.6/files/drivers/net/phy
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/target/linux/generic-2.6/files/drivers/net/phy/rtl8366rb.c

    r22994 r23659  
    2626#define RTL8366RB_PHY_PAGE_MAX  7 
    2727#define RTL8366RB_PHY_ADDR_MAX  31 
     28#define RTL8366RB_PHY_WAN       4 
    2829 
    2930/* Switch Global Configuration register */ 
     
    10641065static int rtl8366rb_phy_config_aneg(struct phy_device *phydev) 
    10651066{ 
     1067        /* phy 4 might be connected to a second mac, allow aneg config */ 
     1068        if (phydev->addr == RTL8366RB_PHY_WAN) 
     1069                return genphy_config_aneg(phydev); 
     1070 
    10661071        return 0; 
    10671072} 
  • branches/backfire/target/linux/generic-2.6/files/drivers/net/phy/rtl8366s.c

    r22994 r23659  
    2626#define RTL8366S_PHY_PAGE_MAX   7 
    2727#define RTL8366S_PHY_ADDR_MAX   31 
     28#define RTL8366S_PHY_WAN        4 
    2829 
    2930/* Switch Global Configuration register */ 
     
    10911092static int rtl8366s_phy_config_aneg(struct phy_device *phydev) 
    10921093{ 
     1094        /* phy 4 might be connected to a second mac, allow aneg config */ 
     1095        if (phydev->addr == RTL8366S_PHY_WAN) 
     1096                return genphy_config_aneg(phydev); 
     1097 
    10931098        return 0; 
    10941099} 
Note: See TracChangeset for help on using the changeset viewer.