Simple patch for dbau1200

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

This is simple patch, to get the correct text
output from :

# cat /proc/cpuinfo

for the DBAU1200 board.

BR,
Matej
Simple patch to get correct board name from /proc/cpuinfo.

Signed-off-by: Matej Kupljen <matej.kupljen@xxxxxxxx>

--- linux-latest/arch/mips/au1000/pb1200/init.c	2005-10-24 13:36:24.000000000 +0200
+++ linux-20051025-dbau1200/arch/mips/au1000/pb1200/init.c	2005-10-26 08:22:58.215114088 +0200
@@ -43,7 +43,11 @@ extern char *prom_getenv(char *envname);
 
 const char *get_system_type(void)
 {
+#ifdef CONFIG_MIPS_DB1200
+	return "Alchemy Db1200";
+#else
 	return "Alchemy Pb1200";
+#endif
 }
 
 void __init prom_init(void)

[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux