diff options
author | Michael S. Tsirkin | 2011-09-11 12:40:23 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2011-09-19 20:22:29 +0200 |
commit | 817e0b6fe8324de8dbd4bec9184c207754618365 (patch) | |
tree | 7acb5eeffe4e43f8b1578499c23500a55f559257 /hw/ne2000.c | |
parent | pci: Remove unused pci_reserve_capability (diff) | |
download | qemu-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/ne2000.c')
-rw-r--r-- | hw/ne2000.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/ne2000.c b/hw/ne2000.c index a035a85244..62e082f8a9 100644 --- a/hw/ne2000.c +++ b/hw/ne2000.c @@ -749,8 +749,7 @@ static int pci_ne2000_init(PCIDevice *pci_dev) uint8_t *pci_conf; pci_conf = d->dev.config; - /* TODO: RST# value should be 0. PCI spec 6.2.4 */ - pci_conf[PCI_INTERRUPT_PIN] = 1; // interrupt pin 0 + pci_conf[PCI_INTERRUPT_PIN] = 1; /* interrupt pin A */ s = &d->ne2000; ne2000_setup_io(s, 0x100); |