You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
ipmi: update driver to use dev_printk and its constructs
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: Myron Stowe <myron.stowe@hp.com> Signed-off-by: Corey 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: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
8c8eae2742
commit
279fbd0c5d
@@ -2505,12 +2505,11 @@ static int ipmi_bmc_register(ipmi_smi_t intf, int ifnum,
|
||||
return rv;
|
||||
}
|
||||
|
||||
printk(KERN_INFO
|
||||
"ipmi: Found new BMC (man_id: 0x%6.6x, "
|
||||
" prod_id: 0x%4.4x, dev_id: 0x%2.2x)\n",
|
||||
bmc->id.manufacturer_id,
|
||||
bmc->id.product_id,
|
||||
bmc->id.device_id);
|
||||
dev_info(intf->si_dev, "Found new BMC (man_id: 0x%6.6x, "
|
||||
"prod_id: 0x%4.4x, dev_id: 0x%2.2x)\n",
|
||||
bmc->id.manufacturer_id,
|
||||
bmc->id.product_id,
|
||||
bmc->id.device_id);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
+102
-121
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user