Fix PCI irq mapping on Malta.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2951 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
ths 2007-06-07 12:30:16 +00:00
parent 3187ef0390
commit d4a4d056ea

View File

@ -504,10 +504,10 @@ static int pci_gt64120_map_irq(PCIDevice *pci_dev, int irq_num)
return 3; return 3;
/* AMD 79C973 Ethernet */ /* AMD 79C973 Ethernet */
case 11: case 11:
return 0; return 1;
/* Crystal 4281 Sound */ /* Crystal 4281 Sound */
case 12: case 12:
return 0; return 2;
/* PCI slot 1 to 4 */ /* PCI slot 1 to 4 */
case 18 ... 21: case 18 ... 21:
return ((slot - 18) + irq_num) & 0x03; return ((slot - 18) + irq_num) & 0x03;