Changeset 20096


Ignore:
Timestamp:
2010-03-09T19:05:48+01:00 (6 years ago)
Author:
juhosg
Message:

ar71xx: override lan port names on the RB750

Location:
trunk/target/linux/ar71xx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/base-files/etc/defconfig/rb-750/network

    r20091 r20096  
    1010 
    1111config interface lan 
    12         option ifname   'lan1 lan2 lan3 lan4' 
     12        option ifname   'port2 port3 port4 port5' 
    1313        option type     bridge 
    1414        option proto    static 
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb750.c

    r20095 r20096  
    5454                .platform_data = &rb750_leds_data, 
    5555        } 
     56}; 
     57 
     58static const char *rb750_port_names[AP91_ETH_NUM_PORT_NAMES] __initdata = { 
     59        "port5", 
     60        "port4", 
     61        "port3", 
     62        "port2", 
    5663}; 
    5764 
     
    118125                                     AR724X_GPIO_FUNC_ETH_SWITCH_LED4_EN); 
    119126 
    120         ap91_eth_init(NULL, NULL); 
     127        ap91_eth_init(NULL, rb750_port_names); 
    121128        platform_device_register(&rb750_leds_device); 
    122129        platform_device_register(&rb750_nand_device); 
Note: See TracChangeset for help on using the changeset viewer.