summaryrefslogtreecommitdiffstats
path: root/hw/usb-ehci.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin2011-09-11 12:40:23 +0200
committerMichael S. Tsirkin2011-09-19 20:22:29 +0200
commit817e0b6fe8324de8dbd4bec9184c207754618365 (patch)
tree7acb5eeffe4e43f8b1578499c23500a55f559257 /hw/usb-ehci.c
parentpci: Remove unused pci_reserve_capability (diff)
downloadqemu-817e0b6fe8324de8dbd4bec9184c207754618365.tar.gz
qemu-817e0b6fe8324de8dbd4bec9184c207754618365.tar.xz
qemu-817e0b6fe8324de8dbd4bec9184c207754618365.zip
pci: interrupt pin documentation update
Fix up some erroneous comments in code: interrupt pins are named A-D, the interrupt pin register is always readonly and isn't zeroed out on reset. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/usb-ehci.c')
-rw-r--r--hw/usb-ehci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb-ehci.c b/hw/usb-ehci.c
index e9e0789795..27376a2351 100644
--- a/hw/usb-ehci.c
+++ b/hw/usb-ehci.c
@@ -2291,7 +2291,7 @@ static int usb_ehci_initfn(PCIDevice *dev)
pci_set_byte(&pci_conf[PCI_CAPABILITY_LIST], 0x00);
//pci_set_byte(&pci_conf[PCI_CAPABILITY_LIST], 0x50);
- pci_set_byte(&pci_conf[PCI_INTERRUPT_PIN], 4); // interrupt pin 3
+ pci_set_byte(&pci_conf[PCI_INTERRUPT_PIN], 4); /* interrupt pin D */
pci_set_byte(&pci_conf[PCI_MIN_GNT], 0);
pci_set_byte(&pci_conf[PCI_MAX_LAT], 0);