Ignore:
Timestamp:
2012-05-27T23:02:41+02:00 (5 years ago)
Author:
nbd
Message:

ar71xx: fix MII clock settings for various chips, improves ethernet stability on AR934x

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c

    r31533 r31925  
    200200        switch (ath79_soc) { 
    201201        case ATH79_SOC_AR7240: 
     202                mdio_data->is_ar7240 = 1; 
     203                /* fall through */ 
    202204        case ATH79_SOC_AR7241: 
     205                mdio_data->builtin_switch = 1; 
     206                break; 
     207 
    203208        case ATH79_SOC_AR9330: 
     209                mdio_data->is_ar9330 = 1; 
     210                /* fall through */ 
    204211        case ATH79_SOC_AR9331: 
    205                 mdio_data->is_ar7240 = 1; 
     212                mdio_data->builtin_switch = 1; 
    206213                break; 
    207214 
     
    210217        case ATH79_SOC_AR9344: 
    211218                if (id == 1) 
    212                         mdio_data->is_ar7240 = 1; 
     219                        mdio_data->builtin_switch = 1; 
     220                mdio_data->is_ar934x = 1; 
    213221                break; 
    214222 
Note: See TracChangeset for help on using the changeset viewer.