| Submitter | Reimar Döffinger |
|---|---|
| Date | Sept. 12, 2009, 1:42 p.m. |
| Message ID | <20090912134201.GB14651@1und1.de> |
| Download | mbox | patch |
| Permalink | /patch/33525/ |
| State | Superseded |
| Headers | show |
Comments
Patch
diff --git a/hw/eepro100.c b/hw/eepro100.c index f930ccd..e1341af 100644 --- a/hw/eepro100.c +++ b/hw/eepro100.c @@ -498,6 +498,8 @@ static void nic_selective_reset(EEPRO100State * s) //~ eeprom93xx_reset(s->eeprom); memcpy(eeprom_contents, s->macaddr, 6); eeprom_contents[0xa] = 0x4000; + if (s->device == i82557B || s->device == i82557C) + eeprom_contents[5] = 0x0100; uint16_t sum = 0; for (i = 0; i < EEPROM_SIZE - 1; i++) { sum += eeprom_contents[i];
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> --- hw/eepro100.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)