Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

[PATCH] libdebian-installer: add support for MIPS Malta

From: Aurelien Jarno <aurelien(at)aurel32.net>
Date: Sat Jan 12 2008 - 10:19:42 EST


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


-- 
To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Sat Jan 12 10:19:55 2008

This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 04:12:06 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library