Commit d4a4d056 authored by ths's avatar ths
Browse files

Fix PCI irq mapping on Malta.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2951 c046a42c-6fe2-441c-8c8c-71466251a162
parent 3187ef03
......@@ -504,10 +504,10 @@ static int pci_gt64120_map_irq(PCIDevice *pci_dev, int irq_num)
return 3;
/* AMD 79C973 Ethernet */
case 11:
return 0;
return 1;
/* Crystal 4281 Sound */
case 12:
return 0;
return 2;
/* PCI slot 1 to 4 */
case 18 ... 21:
return ((slot - 18) + irq_num) & 0x03;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment