diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-06-07 12:30:16 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-06-07 12:30:16 +0000 |
commit | d4a4d056eacb34265481d888c67f5667fc9be8ca (patch) | |
tree | 3f626d43b88d07235e525b4a6f3ba8aa67c381cc /hw/gt64xxx.c | |
parent | 3187ef0390b049ee75bf806f13f6e5004e382c03 (diff) |
Fix PCI irq mapping on Malta.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2951 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/gt64xxx.c')
-rw-r--r-- | hw/gt64xxx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/gt64xxx.c b/hw/gt64xxx.c index 3a0e8b1534..cbfc9df11a 100644 --- a/hw/gt64xxx.c +++ b/hw/gt64xxx.c @@ -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; |