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/pcnet-pci.c | |
| parent | ab346bb23f4ba6f78392b1e55e01a9e58b993887 (diff) | |
| download | focaccia-qemu-817e0b6fe8324de8dbd4bec9184c207754618365.tar.gz focaccia-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/pcnet-pci.c')
| -rw-r--r-- | hw/pcnet-pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pcnet-pci.c b/hw/pcnet-pci.c index 51e132050f..fb2a00caad 100644 --- a/hw/pcnet-pci.c +++ b/hw/pcnet-pci.c @@ -285,7 +285,7 @@ static int pci_pcnet_init(PCIDevice *pci_dev) pci_set_word(pci_conf + PCI_SUBSYSTEM_VENDOR_ID, 0x0); pci_set_word(pci_conf + PCI_SUBSYSTEM_ID, 0x0); - pci_conf[PCI_INTERRUPT_PIN] = 1; // interrupt pin 0 + pci_conf[PCI_INTERRUPT_PIN] = 1; /* interrupt pin A */ pci_conf[PCI_MIN_GNT] = 0x06; pci_conf[PCI_MAX_LAT] = 0xff; |