• Myron Stowe's avatar
    ipmi: update driver to use dev_printk and its constructs · 279fbd0c
    Myron Stowe authored
    Update core IPMI driver printk()'s with dev_printk(), and its constructs,
    to provide additional device topology information.
    
    An example of the additional device topology for a PNP device -
      ipmi_si 00:02: probing via ACPI
      ipmi_si 00:02: [io  0x0ca2-0x0ca3] regsize 1 spacing 1 irq 0
      ipmi_si 00:02: Found new BMC (man_id: 0x00000b, prod_id: 0x0000, ...
      ipmi_si 00:02: IPMI kcs interface initialized
    
    and for a PCI device -
      ipmi_si 0000:01:04.6: probing via PCI
      ipmi_si 0000:01:04.6: PCI INT A -> GSI 21 (level, low) -> IRQ 21
      ipmi_si 0000:01:04.6: [mem 0xf1ef0000-0xf1ef00ff] regsize 1 spaci...
      ipmi_si 0000:01:04.6: IPMI kcs interface initialized
    
    [minyard@acm.org: rework to fix rejects, extended it a bit]
    [akpm@linux-foundation.org: coding-style fixes]
    Signed-off-by: default avatarMyron Stowe <myron.stowe@hp.com>
    Signed-off-by: default avatarCorey Minyard <minyard@acm.org>
    Cc: Zhao Yakui <yakui.zhao@intel.com>
    Cc: Len Brown <lenb@kernel.org>
    Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    279fbd0c
ipmi_msghandler.c 114 KB