Changeset 19330


Ignore:
Timestamp:
06/07/12 14:15:35 (11 months ago)
Author:
BrainSlayer
Message:

fixup eth

Location:
src/linux/universal/linux-3.3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-3.3/arch/mips/ar7240/devices.c

    r19303 r19330  
    848848                        pdata->duplex = DUPLEX_FULL; 
    849849                        pdata->switch_data = &ar71xx_switch_data; 
     850 
     851                        ar71xx_switch_data.phy_poll_mask |= BIT(4); 
     852 
    850853                } 
    851854                pdata->has_gbit = 1; 
     
    903906                        pdata->duplex = DUPLEX_FULL; 
    904907                        pdata->switch_data = &ar71xx_switch_data; 
     908 
     909                        ar71xx_switch_data.phy_poll_mask |= BIT(4); 
     910 
    905911                } 
    906912 
  • src/linux/universal/linux-3.3/arch/mips/include/asm/mach-ar71xx/platform.h

    r19303 r19330  
    2020struct ag71xx_switch_platform_data { 
    2121        u8              phy4_mii_en:1; 
     22        u8              phy_poll_mask; 
    2223}; 
    2324 
  • src/linux/universal/linux-3.3/drivers/net/ethernet/ag71xx/ag71xx_dev.c

    r19303 r19330  
    764764                        pdata->duplex = DUPLEX_FULL; 
    765765                        pdata->switch_data = &ar71xx_switch_data; 
     766                        ar71xx_switch_data.phy_poll_mask |= BIT(4); 
    766767                } 
    767768                pdata->has_gbit = 1; 
     
    819820                        pdata->duplex = DUPLEX_FULL; 
    820821                        pdata->switch_data = &ar71xx_switch_data; 
     822                        ar71xx_switch_data.phy_poll_mask |= BIT(4); 
    821823                } 
    822824 
Note: See TracChangeset for help on using the changeset viewer.