提交 d4a4d056 编写于 作者: T ths

Fix PCI irq mapping on Malta.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2951 c046a42c-6fe2-441c-8c8c-71466251a162
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册