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/ne2000.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/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); |