Revision 173a543b hw/e1000.c

b/hw/e1000.c
1054 1054
    *(uint16_t *)(pci_conf+0x04) = cpu_to_le16(0x0407);
1055 1055
    *(uint16_t *)(pci_conf+0x06) = cpu_to_le16(0x0010);
1056 1056
    pci_conf[0x08] = 0x03;
1057
    pci_conf[0x0a] = 0x00; // ethernet network controller
1058
    pci_conf[0x0b] = 0x02;
1057
    pci_config_set_class(pci_conf, PCI_CLASS_NETWORK_ETHERNET);
1059 1058
    pci_conf[0x0c] = 0x10;
1060 1059

  
1061 1060
    pci_conf[0x3d] = 1; // interrupt pin 0

Also available in: Unified diff