adm5120: add 3.18 support
[openwrt.git] / target / linux / adm5120 / files-3.18 / arch / mips / adm5120 / mikrotik / rb-192.c
1 /*
2  *  Mikrotik RouterBOARD 192 support
3  *
4  *  Copyright (C) 2007-2008 Gabor Juhos <juhosg@openwrt.org>
5  *
6  *  This program is free software; you can redistribute it and/or modify it
7  *  under the terms of the GNU General Public License version 2 as published
8  *  by the Free Software Foundation.
9  *
10  */
11
12 #include "rb-1xx.h"
13
14 static u8 rb192_vlans[6] __initdata = {
15         0x7F, 0x00, 0x00, 0x00, 0x00, 0x00
16 };
17
18 static void __init rb192_setup(void)
19 {
20         rb1xx_generic_setup();
21         rb1xx_add_device_nand();
22
23         adm5120_add_device_switch(6, rb192_vlans);
24 }
25
26 MIPS_MACHINE(MACH_ADM5120_RB_192, "192", "Mikrotik RouterBOARD 192",
27              rb192_setup);