Revision e6c4cfd5 hw/ne2000.c

b/hw/ne2000.c
724 724
    pci_config_set_device_id(pci_conf, PCI_DEVICE_ID_REALTEK_8029);
725 725
    pci_config_set_class(pci_conf, PCI_CLASS_NETWORK_ETHERNET);
726 726
    pci_conf[PCI_HEADER_TYPE] = PCI_HEADER_TYPE_NORMAL; // header_type
727
    pci_conf[0x3d] = 1; // interrupt pin 0
727
    /* TODO: RST# value should be 0. PCI spec 6.2.4 */
728
    pci_conf[PCI_INTERRUPT_PIN] = 1; // interrupt pin 0
728 729

  
729 730
    pci_register_bar(&d->dev, 0, 0x100,
730 731
                           PCI_BASE_ADDRESS_SPACE_IO, ne2000_map);

Also available in: Unified diff