root / pc-bios / bios-pq / 0010_bios-mark-the-acpi-sci-interrupt-as-connected-to-irq-9.patch @ 6d2550ea
History | View | Annotate | Download (851 Bytes)
1 |
bios: mark the acpi sci interrupt as connected to irq 9 (Avi Kivity)
|
---|---|
2 |
|
3 |
Due to a chipset bug, the sci interrupt is hardwired to irq 9. Set the
|
4 |
pci interrupt line register accordingly.
|
5 |
|
6 |
Signed-off-by: Avi Kivity <avi@qumranet.com>
|
7 |
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
8 |
|
9 |
Index: bochs/bios/rombios32.c
|
10 |
===================================================================
|
11 |
--- bochs.orig/bios/rombios32.c
|
12 |
+++ bochs/bios/rombios32.c
|
13 |
@@ -981,6 +981,8 @@ static void pci_bios_init_device(PCIDevi |
14 |
/* PIIX4 Power Management device (for ACPI) */
|
15 |
pm_io_base = PM_IO_BASE; |
16 |
smb_io_base = SMB_IO_BASE; |
17 |
+ // acpi sci is hardwired to 9
|
18 |
+ pci_config_writeb(d, PCI_INTERRUPT_LINE, 9);
|
19 |
pm_sci_int = pci_config_readb(d, PCI_INTERRUPT_LINE); |
20 |
piix4_pm_enable(d); |
21 |
acpi_enabled = 1;
|
22 |
|
23 |
--
|
24 |
|
25 |
|
26 |
|