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

rpms/kernel/FC-4 linux-2.6-windtunnel-printk.patch, NONE, 1.1 kernel-2.6.spec, 1.1402, 1.1403



Author: davej

Update of /cvs/dist/rpms/kernel/FC-4
In directory cvs.devel.redhat.com:/tmp/cvs-serv29464

Modified Files:
	kernel-2.6.spec 
Added Files:
	linux-2.6-windtunnel-printk.patch 
Log Message:
Silence some messages from PowerMac thermal driver. (#158739)



linux-2.6-windtunnel-printk.patch:
 therm_windtunnel.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE linux-2.6-windtunnel-printk.patch ---
diff -ru kernel-2.6.12.orig/linux-2.6.12/drivers/macintosh/therm_windtunnel.c kernel-2.6.12/linux-2.6.12/drivers/macintosh/therm_windtunnel.c
--- linux-2.6.12/drivers/macintosh/therm_windtunnel.c	2005-07-16 09:26:50.000000000 +0200
+++ linux-2.6.12/drivers/macintosh/therm_windtunnel.c	2005-07-16 09:32:31.000000000 +0200
@@ -168,7 +168,7 @@
 	/* write_reg( x.fan, 0x24, val, 1 ); */
 	write_reg( x.fan, 0x25, val, 1 );
 	write_reg( x.fan, 0x20, 0, 1 );
-	print_temp("CPU-temp: ", x.temp );
+	print_temp(KERN_DEBUG "CPU-temp: ", x.temp );
 	if( x.casetemp )
 		print_temp(", Case: ", x.casetemp );
 	printk(",  Fan: %d (tuned %+d)\n", 11-fan_setting, x.fan_level-fan_setting );
@@ -191,7 +191,7 @@
 	casetemp |= (read_reg(x.fan, 0x06, 1) & 0x7) << 5;
 
 	if( LOG_TEMP && x.temp != temp ) {
-		print_temp("CPU-temp: ", temp );
+		print_temp(KERN_DEBUG "CPU-temp: ", temp );
 		print_temp(", Case: ", casetemp );
 		printk(",  Fan: %d\n", 11-x.fan_level );
 	}



Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/dist/rpms/kernel/FC-4/kernel-2.6.spec,v
retrieving revision 1.1402
retrieving revision 1.1403
diff -u -r1.1402 -r1.1403
--- kernel-2.6.spec	3 Aug 2005 21:14:45 -0000	1.1402
+++ kernel-2.6.spec	3 Aug 2005 21:24:31 -0000	1.1403
@@ -235,6 +235,7 @@
 Patch309: linux-2.6.11-pmac-ide-sleep.patch
 Patch310: linux-2.6.11-kallsyms-extra-text.patch
 Patch311: linux-2.6.12rc-ppc32-clockspreading-fix.patch
+Patch312: linux-2.6-windtunnel-printk.patch
 
 # 400 - 499   ia64
 Patch400: linux-2.6.3-ia64-build.patch
@@ -577,6 +578,7 @@
 #%patch309 -p1
 #%patch310 -p1
 #%patch311 -p1
+%patch312 -p1
 
 #
 # ia64
@@ -1270,6 +1272,7 @@
 %changelog
 * Wed Aug  3 2005 Dave Jones <davej redhat com>
 - Include pre-release 2.6.12.4 patchset
+- Silence some messages from PowerMac thermal driver. (#158739)
 
 * Fri Jul 29 2005 Dave Jones <davej redhat com>
 - Include backport of 2.6.13rc4 ACPI (acpi-20050708-2.6.12.patch)


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