mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
ipmi: add fwinfo to pci ipmi devices
This requires some adjustments to callers to avoid possible behaviour changes for PCI devices. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Message-ID: <20250401140153.685523-3-npiggin@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> [Rename pci_ipmi_bt_get_fwinfo to pci_ipmi_kcs_get_fwinfo in the pci_ipmi_kcs.c file.] Signed-off-by: Corey Minyard <corey@minyard.net>
This commit is contained in:
parent
3e0a763136
commit
7376d10b50
7 changed files with 38 additions and 2 deletions
|
@ -72,7 +72,12 @@ static void smbios_build_one_type_38(IPMIFwInfo *info)
|
|||
" SMBIOS, ignoring this entry.", info->register_spacing);
|
||||
return;
|
||||
}
|
||||
t->interrupt_number = info->interrupt_number;
|
||||
if (info->irq_source == IPMI_ISA_IRQ) {
|
||||
t->interrupt_number = info->interrupt_number;
|
||||
} else {
|
||||
/* TODO: How to handle PCI? */
|
||||
t->interrupt_number = 0;
|
||||
}
|
||||
|
||||
SMBIOS_BUILD_TABLE_POST;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue