summaryrefslogtreecommitdiff
path: root/target/linux/adm5120/files-2.6.26/arch/mips/adm5120/cellvision/nfs-101.c
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-08-09 07:08:40 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-08-09 07:08:40 +0000
commit0be07086760251a53e98254244429d13ae573a16 (patch)
treec632996a6c41bbe284d7197c095c27f800c9636d /target/linux/adm5120/files-2.6.26/arch/mips/adm5120/cellvision/nfs-101.c
parent14a3ac5c63493a7f6dd110f101c0368a50eef669 (diff)
downloadmtk-20170518-0be07086760251a53e98254244429d13ae573a16.zip
mtk-20170518-0be07086760251a53e98254244429d13ae573a16.tar.gz
mtk-20170518-0be07086760251a53e98254244429d13ae573a16.tar.bz2
split support of Cellvision boards
SVN-Revision: 12255
Diffstat (limited to 'target/linux/adm5120/files-2.6.26/arch/mips/adm5120/cellvision/nfs-101.c')
-rw-r--r--target/linux/adm5120/files-2.6.26/arch/mips/adm5120/cellvision/nfs-101.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/adm5120/files-2.6.26/arch/mips/adm5120/cellvision/nfs-101.c b/target/linux/adm5120/files-2.6.26/arch/mips/adm5120/cellvision/nfs-101.c
new file mode 100644
index 0000000..efd4e57
--- /dev/null
+++ b/target/linux/adm5120/files-2.6.26/arch/mips/adm5120/cellvision/nfs-101.c
@@ -0,0 +1,24 @@
+/*
+ * Cellvision/SparkLAN NFS-101U/WU support
+ *
+ * Copyright (C) 2007-2008 Gabor Juhos <juhosg@openwrt.org>
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published
+ * by the Free Software Foundation.
+ *
+ */
+
+#include "cellvision.h"
+
+static u8 nfs101_vlans[6] __initdata = { /* TODO: not tested */
+ 0x41, 0x42, 0x44, 0x48, 0x50, 0x00
+};
+
+static void __init nfs101_setup(void)
+{
+ cas6xx_flash_setup();
+ adm5120_add_device_switch(5, nfs101_vlans);
+}
+
+ADM5120_BOARD(MACH_ADM5120_NFS101U, "Cellvision NFS-101U/101WU", nfs101_setup);