Revision db667a12 hw/eepro100.c
b/hw/eepro100.c | ||
---|---|---|
87 | 87 |
#define i82559C 0x82559c |
88 | 88 |
#define i82559ER 0x82559e |
89 | 89 |
#define i82562 0x82562 |
90 |
#define i82801 0x82801 |
|
90 | 91 |
|
91 | 92 |
/* Use 64 word EEPROM. TODO: could be a runtime option. */ |
92 | 93 |
#define EEPROM_SIZE 64 |
... | ... | |
505 | 506 |
case i82559B: |
506 | 507 |
case i82559ER: |
507 | 508 |
case i82562: |
509 |
case i82801: |
|
508 | 510 |
break; |
509 | 511 |
case i82559C: |
510 | 512 |
#if EEPROM_SIZE > 0 |
... | ... | |
2013 | 2015 |
.stats_size = 80, |
2014 | 2016 |
.has_extended_tcb_support = true, |
2015 | 2017 |
.power_management = true, |
2018 |
},{ |
|
2019 |
/* Toshiba Tecra 8200. */ |
|
2020 |
.pci.qdev.name = "i82801", |
|
2021 |
.pci.qdev.desc = "Intel i82801 Ethernet", |
|
2022 |
.device = i82801, |
|
2023 |
.device_id = 0x2449, |
|
2024 |
.revision = 0x03, |
|
2025 |
.stats_size = 80, |
|
2026 |
.has_extended_tcb_support = true, |
|
2027 |
.power_management = true, |
|
2016 | 2028 |
} |
2017 | 2029 |
}; |
2018 | 2030 |
|
... | ... | |
2033 | 2045 |
case PCI_DEVICE_ID_INTEL_82557: |
2034 | 2046 |
pci_dev->romfile = "gpxe-eepro100-80861229.rom"; |
2035 | 2047 |
break; |
2048 |
case 0x2449: |
|
2049 |
pci_dev->romfile = "gpxe-eepro100-80862449.rom"; |
|
2050 |
break; |
|
2036 | 2051 |
} |
2037 | 2052 |
pci_dev->init = e100_nic_init; |
2038 | 2053 |
pci_dev->exit = pci_nic_uninit; |
Also available in: Unified diff