Commit d4a4d056eacb34265481d888c67f5667fc9be8ca
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 | 504 | return 3; |
| 505 | 505 | /* AMD 79C973 Ethernet */ |
| 506 | 506 | case 11: |
| 507 | - return 0; | |
| 507 | + return 1; | |
| 508 | 508 | /* Crystal 4281 Sound */ |
| 509 | 509 | case 12: |
| 510 | - return 0; | |
| 510 | + return 2; | |
| 511 | 511 | /* PCI slot 1 to 4 */ |
| 512 | 512 | case 18 ... 21: |
| 513 | 513 | return ((slot - 18) + irq_num) & 0x03; | ... | ... |