| Submitter | Reimar Döffinger |
|---|---|
| Date | Aug. 11, 2009, 9:14 p.m. |
| Message ID | <20090811211446.GB10500@1und1.de> |
| Download | mbox | patch |
| Permalink | /patch/31164/ |
| State | Superseded |
| Headers | show |
Comments
Patch
diff --git a/hw/eepro100.c b/hw/eepro100.c index ec31a6a..bf5d920 100644 --- a/hw/eepro100.c +++ b/hw/eepro100.c @@ -1043,9 +1043,7 @@ static void eepro100_write_mdi(EEPRO100State * s, uint32_t val) } data = s->mdimem[reg]; } - /* Emulation takes no time to finish MDI transaction. - * Set MDI bit in SCB status register. */ - s->mem[SCBAck] |= 0x08; + /* Emulation takes no time to finish MDI transaction. */ val |= BIT(28); if (raiseint) { eepro100_mdi_interrupt(s);
This makes the emulation not set the SBAck flag for MDI interrupts when interrupts are actually disabled for MDI. I think (have not tested yet) that this is not necessary to fix anything, but according to the documentation the current code is wrong. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> --- hw/eepro100.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-)