[PATCH 0/5] loglevel=pci:8,acpi:8 support v4

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Yinghai Lu
Date: Tuesday, September 16, 2008 - 6:14 pm

v4: fix some checkpatch error and warning

usage:
	in .h to have
		#define KERN_PCI "<pci>"
	in .c to have
		DEFINE_LOGLEVEL_SETUP(pci, KERN_PCI, "pci:");
	then could use
		printk(KERN_DEBUG KERN_PCI fmt, ...);
	and command line
		loglevel=3,pci:8

you can add different printk to different files of one subsys if you like
not just one susbsys one tag, and don't need to update kernel.h to add more tags

YH
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/5] loglevel=pci:8,acpi:8 support v4, Yinghai Lu, (Tue Sep 16, 6:14 pm)
[PATCH 1/5] add DEFINE_LOGLEVEL_SETUP v5, Yinghai Lu, (Tue Sep 16, 6:14 pm)
[PATCH 2/5] pci: add pci_printk v4, Yinghai Lu, (Tue Sep 16, 6:14 pm)
[PATCH 3/5] pci: using pci_printk v3, Yinghai Lu, (Tue Sep 16, 6:14 pm)
[PATCH 4/5] acpi: add acpi_printk v3, Yinghai Lu, (Tue Sep 16, 6:14 pm)
[PATCH 5/5] apci: dump slit v4, Yinghai Lu, (Tue Sep 16, 6:14 pm)