diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2011-09-11 13:40:23 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2011-09-19 21:22:29 +0300 |
commit | 817e0b6fe8324de8dbd4bec9184c207754618365 (patch) | |
tree | 7acb5eeffe4e43f8b1578499c23500a55f559257 /hw/rtl8139.c | |
parent | ab346bb23f4ba6f78392b1e55e01a9e58b993887 (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/rtl8139.c')
-rw-r--r-- | hw/rtl8139.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/rtl8139.c b/hw/rtl8139.c index c5de5b48ba..37539508c5 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; |