projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66321a1
)
PCI irq in sync with new Bochs BIOS
author
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 6 Apr 2005 23:00:25 +0000
(23:00 +0000)
committer
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 6 Apr 2005 23:00:25 +0000
(23:00 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1351
c046a42c
-6fe2-441c-8c8c-
71466251a162
hw/pci.c
patch
|
blob
|
history
diff --git
a/hw/pci.c
b/hw/pci.c
index 2fed66f0a15afdc8b990a9a81e920e22e547cad7..6035c890a8fd366423727cc7b436e4e64c37bbd7 100644
(file)
--- a/
hw/pci.c
+++ b/
hw/pci.c
@@
-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;
}