rpms/kernel/F-9 linux-2.6-pciehp-kill-annoying-messages.patch, NONE, 1.1 kernel.spec, 1.869, 1.870

Chuck Ebbert cebbert at fedoraproject.org
Thu Dec 4 02:22:05 UTC 2008


Author: cebbert

Update of /cvs/pkgs/rpms/kernel/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28102

Modified Files:
	kernel.spec 
Added Files:
	linux-2.6-pciehp-kill-annoying-messages.patch 
Log Message:
Stop the pciehp driver from filling the log with status messages.

linux-2.6-pciehp-kill-annoying-messages.patch:

--- NEW FILE linux-2.6-pciehp-kill-annoying-messages.patch ---
System log on Aspire One fills with messages: fix by changing
them to debug messages.

Index: linux-2.6.27.noarch/drivers/pci/hotplug/pciehp_ctrl.c
===================================================================
--- linux-2.6.27.noarch.orig/drivers/pci/hotplug/pciehp_ctrl.c
+++ linux-2.6.27.noarch/drivers/pci/hotplug/pciehp_ctrl.c
@@ -117,13 +117,13 @@ u8 pciehp_handle_presence_change(struct 
 		/*
 		 * Card Present
 		 */
-		info("Card present on Slot(%s)\n", p_slot->name);
+		dbg("Card present on Slot(%s)\n", p_slot->name);
 		event_type = INT_PRESENCE_ON;
 	} else {
 		/*
 		 * Not Present
 		 */
-		info("Card not present on Slot(%s)\n", p_slot->name);
+		dbg("Card not present on Slot(%s)\n", p_slot->name);
 		event_type = INT_PRESENCE_OFF;
 	}
 


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-9/kernel.spec,v
retrieving revision 1.869
retrieving revision 1.870
diff -u -r1.869 -r1.870
--- kernel.spec	4 Dec 2008 02:02:56 -0000	1.869
+++ kernel.spec	4 Dec 2008 02:21:35 -0000	1.870
@@ -635,6 +635,7 @@
 Patch383: linux-2.6-pci-fix-pciehp.patch
 # Don't attempt to assign IRQ 0
 Patch384: linux-2.6-pci-fix-pciehp-irq0.patch
+Patch385: linux-2.6-pciehp-kill-annoying-messages.patch
 
 Patch390: linux-2.6-acpi-ignore-ae_not_found-error-of-ec-reg-method.patch
 Patch392: linux-2.6-acpi-dock-fix-eject-request-process.patch
@@ -1189,6 +1190,8 @@
 ApplyPatch linux-2.6-pci-fix-pciehp.patch
 # don't try to use irq0
 ApplyPatch linux-2.6-pci-fix-pciehp-irq0.patch
+# get rid of annoying messages
+ApplyPatch linux-2.6-pciehp-kill-annoying-messages.patch
 
 #
 # SCSI Bits.
@@ -1918,6 +1921,9 @@
 %kernel_variant_files -a /%{image_install_path}/xen*-%{KVERREL}.xen -e /etc/ld.so.conf.d/kernelcap-%{KVERREL}.xen.conf %{with_xen} xen
 
 %changelog
+* Wed Dec 03 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.27.7-57
+- Stop the pciehp driver from filling the log with status messages.
+
 * Wed Dec 03 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.27.7-56
 - Update applesmc driver to 2.6.28-rc7-git1
   Adds: module autoloading




More information about the fedora-extras-commits mailing list