Revision fdac1d99

b/hw/rtl8139.c
3357 3357
    pci_conf = s->dev.config;
3358 3358
    pci_config_set_vendor_id(pci_conf, PCI_VENDOR_ID_REALTEK);
3359 3359
    pci_config_set_device_id(pci_conf, PCI_DEVICE_ID_REALTEK_8139);
3360
    /* TODO: value should be 0 at RST#. */
3361
    pci_conf[PCI_COMMAND] = PCI_COMMAND_IO | PCI_COMMAND_MASTER;
3362 3360
    pci_conf[PCI_REVISION_ID] = RTL8139_PCI_REVID; /* >=0x20 is for 8139C+ */
3363 3361
    pci_config_set_class(pci_conf, PCI_CLASS_NETWORK_ETHERNET);
3364
    /* TODO: value should be 0 at RST# */
3365 3362
    pci_conf[PCI_INTERRUPT_PIN] = 1;    /* interrupt pin 0 */
3366 3363
    /* TODO: start of capability list, but no capability
3367 3364
     * list bit in status register, and offset 0xdc seems unused. */

Also available in: Unified diff