* [PATCH] x86: use dev_printk in quirk message
@ 2009-02-18 16:19 Bjorn Helgaas
2009-02-18 17:45 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Bjorn Helgaas @ 2009-02-18 16:19 UTC (permalink / raw)
To: tglx, mingo, hpa; +Cc: Fenghua Yu, linux-kernel
This patch changes a VIA PCI quirk to use dev_info() rather than printk().
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
---
arch/x86/kernel/pci-dma.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/pci-dma.c b/arch/x86/kernel/pci-dma.c
index b254285..022833b 100644
--- a/arch/x86/kernel/pci-dma.c
+++ b/arch/x86/kernel/pci-dma.c
@@ -290,8 +290,7 @@ fs_initcall(pci_iommu_init);
static __devinit void via_no_dac(struct pci_dev *dev)
{
if ((dev->class >> 8) == PCI_CLASS_BRIDGE_PCI && forbid_dac == 0) {
- printk(KERN_INFO
- "PCI: VIA PCI bridge detected. Disabling DAC.\n");
+ dev_info(&dev->dev, "disabling DAC on VIA PCI bridge\n");
forbid_dac = 1;
}
}
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] x86: use dev_printk in quirk message
2009-02-18 16:19 [PATCH] x86: use dev_printk in quirk message Bjorn Helgaas
@ 2009-02-18 17:45 ` Ingo Molnar
0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2009-02-18 17:45 UTC (permalink / raw)
To: Bjorn Helgaas, Jesse Barnes; +Cc: tglx, mingo, hpa, Fenghua Yu, linux-kernel
* Bjorn Helgaas <bjorn.helgaas@hp.com> wrote:
> This patch changes a VIA PCI quirk to use dev_info() rather than printk().
>
> Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
> ---
> arch/x86/kernel/pci-dma.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/arch/x86/kernel/pci-dma.c b/arch/x86/kernel/pci-dma.c
> index b254285..022833b 100644
> --- a/arch/x86/kernel/pci-dma.c
> +++ b/arch/x86/kernel/pci-dma.c
> @@ -290,8 +290,7 @@ fs_initcall(pci_iommu_init);
> static __devinit void via_no_dac(struct pci_dev *dev)
> {
> if ((dev->class >> 8) == PCI_CLASS_BRIDGE_PCI && forbid_dac == 0) {
> - printk(KERN_INFO
> - "PCI: VIA PCI bridge detected. Disabling DAC.\n");
> + dev_info(&dev->dev, "disabling DAC on VIA PCI bridge\n");
> forbid_dac = 1;
> }
> }
that's one for Jesse i think - Cc:-ed him.
Ingo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-18 17:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-18 16:19 [PATCH] x86: use dev_printk in quirk message Bjorn Helgaas
2009-02-18 17:45 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®