Commit d4a4d056eacb34265481d888c67f5667fc9be8ca

Authored by ths
1 parent 3187ef03

Fix PCI irq mapping on Malta.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2951 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 2 deletions
hw/gt64xxx.c
@@ -504,10 +504,10 @@ static int pci_gt64120_map_irq(PCIDevice *pci_dev, int irq_num) @@ -504,10 +504,10 @@ static int pci_gt64120_map_irq(PCIDevice *pci_dev, int irq_num)
504 return 3; 504 return 3;
505 /* AMD 79C973 Ethernet */ 505 /* AMD 79C973 Ethernet */
506 case 11: 506 case 11:
507 - return 0; 507 + return 1;
508 /* Crystal 4281 Sound */ 508 /* Crystal 4281 Sound */
509 case 12: 509 case 12:
510 - return 0; 510 + return 2;
511 /* PCI slot 1 to 4 */ 511 /* PCI slot 1 to 4 */
512 case 18 ... 21: 512 case 18 ... 21:
513 return ((slot - 18) + irq_num) & 0x03; 513 return ((slot - 18) + irq_num) & 0x03;