aboutsummaryrefslogtreecommitdiff
path: root/hw/usb-uhci.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2011-09-11 13:40:23 +0300
committerMichael S. Tsirkin <mst@redhat.com>2011-09-19 21:22:29 +0300
commit817e0b6fe8324de8dbd4bec9184c207754618365 (patch)
tree7acb5eeffe4e43f8b1578499c23500a55f559257 /hw/usb-uhci.c
parentab346bb23f4ba6f78392b1e55e01a9e58b993887 (diff)
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-uhci.c')
-rw-r--r--hw/usb-uhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb-uhci.c b/hw/usb-uhci.c
index 64f7b36c00..17992cf003 100644
--- a/hw/usb-uhci.c
+++ b/hw/usb-uhci.c
@@ -1131,7 +1131,7 @@ static int usb_uhci_common_initfn(PCIDevice *dev)
pci_conf[PCI_CLASS_PROG] = 0x00;
/* TODO: reset value should be 0. */
- pci_conf[PCI_INTERRUPT_PIN] = 4; // interrupt pin 3
+ pci_conf[PCI_INTERRUPT_PIN] = 4; /* interrupt pin D */
pci_conf[USB_SBRN] = USB_RELEASE_1; // release number
if (s->masterbus) {