aboutsummaryrefslogtreecommitdiff
path: root/hw/rtl8139.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/rtl8139.c
parentab346bb23f4ba6f78392b1e55e01a9e58b993887 (diff)
downloadqemu-817e0b6fe8324de8dbd4bec9184c207754618365.zip
qemu-817e0b6fe8324de8dbd4bec9184c207754618365.tar.gz
qemu-817e0b6fe8324de8dbd4bec9184c207754618365.tar.bz2
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/rtl8139.c')
-rw-r--r--hw/rtl8139.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/rtl8139.c b/hw/rtl8139.c
index c5de5b4..3753950 100644
--- a/hw/rtl8139.c
+++ b/hw/rtl8139.c
@@ -3464,7 +3464,7 @@ static int pci_rtl8139_init(PCIDevice *dev)
uint8_t *pci_conf;
pci_conf = s->dev.config;
- pci_conf[PCI_INTERRUPT_PIN] = 1; /* interrupt pin 0 */
+ pci_conf[PCI_INTERRUPT_PIN] = 1; /* interrupt pin A */
/* TODO: start of capability list, but no capability
* list bit in status register, and offset 0xdc seems unused. */
pci_conf[PCI_CAPABILITY_LIST] = 0xdc;