Changeset 8314


Ignore:
Timestamp:
2007-08-02T08:33:52+02:00 (11 years ago)
Author:
juhosg
Message:

[adm5120] add definitions for RouterBOARD 150, no NAND driver yet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/mikrotik.c

    r8309 r8314  
    22 *  $Id$ 
    33 * 
    4  *  Mikrotik RouterBOARDs 111/112/133/133C/153 
     4 *  Mikrotik RouterBOARDs 111/112/133/133C/150/153 
    55 * 
    66 *  Copyright (C) 2007 OpenWrt.org 
     
    5151}; 
    5252 
     53static struct platform_device *rb150_devices[] __initdata = { 
     54        &adm5120_flash0_device, 
     55        /* TODO: nand device is not yet supported */ 
     56}; 
     57 
    5358static void __init rb1xx_setup(void) 
    5459{ 
     
    7580}; 
    7681 
    77 static unsigned char rb153_vlans[6] __initdata = { 
     82static unsigned char rb15x_vlans[6] __initdata = { 
    7883        /* FIXME: untested */ 
    7984        0x41, 0x42, 0x44, 0x48, 0x50, 0x00 
     
    120125}; 
    121126 
     127static struct adm5120_board rb150_board __initdata = { 
     128        .mach_type      = MACH_ADM5120_RB_150, 
     129        .name           = "Mikrotik RouterBOARD 150", 
     130        .board_setup    = rb1xx_setup, 
     131        .eth_num_ports  = 5, 
     132        .eth_vlans      = rb15x_vlans, 
     133        .num_devices    = ARRAY_SIZE(rb150_devices), 
     134        .devices        = rb150_devices, 
     135}; 
     136 
    122137static struct adm5120_board rb153_board __initdata = { 
    123138        .mach_type      = MACH_ADM5120_RB_153, 
     
    125140        .board_setup    = rb1xx_setup, 
    126141        .eth_num_ports  = 5, 
    127         .eth_vlans      = rb153_vlans, 
     142        .eth_vlans      = rb15x_vlans, 
    128143        .num_devices    = ARRAY_SIZE(rb1xx_devices), 
    129144        .devices        = rb1xx_devices, 
     
    136151        adm5120_board_register(&rb133_board); 
    137152        adm5120_board_register(&rb133c_board); 
     153        adm5120_board_register(&rb150_board); 
    138154        adm5120_board_register(&rb153_board); 
    139155        return 0; 
Note: See TracChangeset for help on using the changeset viewer.