Revision 0389ced4 hw/eepro100.c

b/hw/eepro100.c
2048 2048
    size_t i;
2049 2049
    for (i = 0; i < ARRAY_SIZE(e100_devices); i++) {
2050 2050
        PCIDeviceInfo *pci_dev = &e100_devices[i].pci;
2051
        switch (e100_devices[i].device_id) {
2052
            case PCI_DEVICE_ID_INTEL_82551IT:
2053
                pci_dev->romfile = "gpxe-eepro100-80861209.rom";
2054
                break;
2055
            case PCI_DEVICE_ID_INTEL_82557:
2056
                pci_dev->romfile = "gpxe-eepro100-80861229.rom";
2057
                break;
2058
            case 0x2449:
2059
                pci_dev->romfile = "gpxe-eepro100-80862449.rom";
2060
                break;
2061
        }
2051
        /* We use the same rom file for all device ids.
2052
           QEMU fixes the device id during rom load. */
2053
        pci_dev->romfile = "gpxe-eepro100-80861209.rom";
2062 2054
        pci_dev->init = e100_nic_init;
2063 2055
        pci_dev->exit = pci_nic_uninit;
2064 2056
        pci_dev->qdev.props = e100_properties;

Also available in: Unified diff