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

r1274 - in trunk/kfreebsd-6/debian: . patches



Author: rmh
Date: 2006-02-28 11:42:30 +0000 (Tue, 28 Feb 2006)
New Revision: 1274

Modified:
   trunk/kfreebsd-6/debian/changelog
   trunk/kfreebsd-6/debian/patches/907_cpu_class.diff
Log:
    - patches/907_cpu_class.diff: Set hw.machine to x86_64.  This improves
    compatibility with old config.sub scripts.

Modified: trunk/kfreebsd-6/debian/changelog
===================================================================
--- trunk/kfreebsd-6/debian/changelog	2006-02-28 10:24:03 UTC (rev 1273)
+++ trunk/kfreebsd-6/debian/changelog	2006-02-28 11:42:30 UTC (rev 1274)
@@ -38,8 +38,10 @@
     - arch/amd64/amd64-generic.config: New.  Generic x86_64 config.
     - arch/amd64/amd64-k8.config: New.  K8 config.
     - arch/amd64/em64t-p4.config: New.  P4 config.
+    - patches/907_cpu_class.diff: Set hw.machine to "x86_64".  This improves
+    compatibility with old config.sub scripts.
 
- -- Robert Millan <rmh@aybabtu.com>  Mon, 27 Feb 2006 10:45:38 +0100
+ -- Robert Millan <rmh@aybabtu.com>  Tue, 28 Feb 2006 12:42:18 +0100
 
 kfreebsd-5 (5.3-6) unstable; urgency=low
 

Modified: trunk/kfreebsd-6/debian/patches/907_cpu_class.diff
===================================================================
--- trunk/kfreebsd-6/debian/patches/907_cpu_class.diff	2006-02-28 10:24:03 UTC (rev 1273)
+++ trunk/kfreebsd-6/debian/patches/907_cpu_class.diff	2006-02-28 11:42:30 UTC (rev 1274)
@@ -27,3 +27,14 @@
  		break;
  #endif
  	default:
+--- sys/amd64/amd64/identcpu.c~	2006-02-28 12:31:12.000000000 +0100
++++ sys/amd64/amd64/identcpu.c	2006-02-28 12:41:06.000000000 +0100
+@@ -71,7 +71,7 @@
+ static void print_AMD_assoc(int i);
+ 
+ int	cpu_class;
+-char machine[] = "amd64";
++char machine[] = "x86_64";
+ SYSCTL_STRING(_hw, HW_MACHINE, machine, CTLFLAG_RD, 
+     machine, 0, "Machine class");
+ 



Reply to: