diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-04-06 23:00:25 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-04-06 23:00:25 +0000 |
commit | 39d2243955012581607e8430a6fb33b34f3b09ac (patch) | |
tree | 31b91fe97a0ca9d23b0ac09dc7f541aadd2449ab /hw/pci.c | |
parent | 66321a11a4ef45942b3bee7377a36bb94831365a (diff) | |
download | qemu-39d2243955012581607e8430a6fb33b34f3b09ac.zip qemu-39d2243955012581607e8430a6fb33b34f3b09ac.tar.gz qemu-39d2243955012581607e8430a6fb33b34f3b09ac.tar.bz2 |
PCI irq in sync with new Bochs BIOS
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1351 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pci.c')
-rw-r--r-- | hw/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -494,7 +494,7 @@ PIIX3State *piix3_state; static inline int pci_slot_get_pirq(PCIDevice *pci_dev, int irq_num) { int slot_addend; - slot_addend = (pci_dev->devfn >> 3); + slot_addend = (pci_dev->devfn >> 3) - 1; return (irq_num + slot_addend) & 3; } |