Changeset 23132


Ignore:
Timestamp:
2010-09-27T16:53:49+02:00 (6 years ago)
Author:
juhosg
Message:

ar71xx: use the MDIO interface of the 2nd MAC on the ar7241

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c

    r22700 r23132  
    8787        switch (ar71xx_soc) { 
    8888        case AR71XX_SOC_AR7240: 
     89                ar71xx_mdio_data.is_ar7240 = 1; 
     90                break; 
    8991        case AR71XX_SOC_AR7241: 
     92                ar71xx_mdio_data.is_ar7240 = 1; 
     93                ar71xx_mdio_resources[0].start = AR71XX_GE1_BASE; 
     94                ar71xx_mdio_resources[0].end = AR71XX_GE1_BASE + 0x200 - 1; 
     95                break; 
    9096        case AR71XX_SOC_AR7242: 
    9197                ar71xx_mdio_data.is_ar7240 = 1; 
Note: See TracChangeset for help on using the changeset viewer.