[PATCH] libdebian-installer: add support for MIPS Malta
I plan to commit the following change to d-i. Any comment?
Index: libdebian-installer/debian/changelog
===================================================================
--- libdebian-installer/debian/changelog (révision 50853)
+++ libdebian-installer/debian/changelog (copie de travail)
@@ -3,6 +3,9 @@
[ Stephen R. Marenka ]
* archdetect: Add support for m68k/aranym (atari).
+ [ Aurelien Jarno ]
+ * archdetect: Add support for mips{,el}/{4,5}kc-malta platforms.
+
-- Stephen R. Marenka <smarenka@debian.org> Fri, 4 Jan 2008 07:57:59 -0600
libdebian-installer (0.54) unstable; urgency=low
Index: libdebian-installer/src/system/subarch-mipsel-linux.c
===================================================================
--- libdebian-installer/src/system/subarch-mipsel-linux.c (révision 50853)
+++ libdebian-installer/src/system/subarch-mipsel-linux.c (copie de travail)
@@ -42,6 +42,15 @@
{ NULL, "unknown" }
};
+static struct cpu system_malta_cpu[] = {
+ { "MIPS 4K", "4kc-malta" },
+ { "MIPS 24K", "4kc-malta" },
+ { "MIPS 34K", "4kc-malta" },
+ { "MIPS 5K", "5kc-malta" },
+ { "MIPS 20K", "5kc-malta" },
+ { NULL, "unknown" }
+};
+
/* add new system types here */
static struct cpu system_unknown_cpu[] = {
@@ -62,6 +71,7 @@
{"Cobalt ", system_cobalt_cpu }, /* match any Cobalt machine; new kernels */
{"Broadcom BCM947XX", system_bcm_bcm947xx_cpu }, /* Broadcom based APs/NAS */
{"Qemu", system_qemu_cpu },
+ {"MIPS Malta", system_malta_cpu },
{ NULL, system_unknown_cpu }
};
Index: libdebian-installer/src/system/subarch-mips-linux.c
===================================================================
--- libdebian-installer/src/system/subarch-mips-linux.c (révision 50853)
+++ libdebian-installer/src/system/subarch-mips-linux.c (copie de travail)
@@ -48,6 +48,15 @@
{ NULL, "unknown" }
};
+static struct cpu system_malta_cpu[] = {
+ { "MIPS 4K", "4kc-malta" },
+ { "MIPS 24K", "4kc-malta" },
+ { "MIPS 34K", "4kc-malta" },
+ { "MIPS 5K", "5kc-malta" },
+ { "MIPS 20K", "5kc-malta" },
+ { NULL, "unknown" }
+};
+
/* add new system types here */
static struct cpu system_unknown_cpu[] = {
@@ -61,6 +70,7 @@
{"SGI O2", system_sgi_o2_cpu },
{"SiByte BCM9", system_sibyte_sb1_cpu }, /* match Broadcom SB1 boards */
{"Qemu", system_qemu_cpu },
+ {"MIPS Malta", system_malta_cpu },
{ NULL, system_unknown_cpu }
};
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' aurel32@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
Reply to: