197573625272582366f69a05b00fe7e1c3382164
[openwrt-10.03/.git] / target / linux / adm5120 / files / arch / mips / adm5120 / cellvision / nfs-101.c
1 /*
2  *  Cellvision/SparkLAN NFS-101U/WU 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 "cellvision.h"
13
14 static u8 nfs101_vlans[6] __initdata = { /* TODO: not tested */
15         0x41, 0x42, 0x44, 0x48, 0x50, 0x00
16 };
17
18 static void __init nfs101_setup(void)
19 {
20         cas6xx_flash_setup();
21         cellvision_mac_setup();
22
23         adm5120_add_device_uart(0);
24         adm5120_add_device_uart(1);
25         adm5120_add_device_switch(5, nfs101_vlans);
26 }
27
28 MIPS_MACHINE(MACH_ADM5120_NFS101U, "Cellvision NFS-101U/101WU", nfs101_setup);