mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 09:35:32 -07:00
DEC Tulip 21040: Do not attempt to read the EEPROM data on reset, fixes #6768.
This commit is contained in:
@@ -886,7 +886,6 @@ static void
|
||||
tulip_reset(void *priv)
|
||||
{
|
||||
TULIPState *s = (TULIPState *) priv;
|
||||
const uint16_t *eeprom_data = nmc93cxx_eeprom_data(s->eeprom);
|
||||
s->csr[0] = 0xfe000000;
|
||||
s->csr[1] = 0xffffffff;
|
||||
s->csr[2] = 0xffffffff;
|
||||
@@ -901,6 +900,8 @@ tulip_reset(void *priv)
|
||||
s->csr[14] = 0xffffffff;
|
||||
s->csr[15] = 0x8ff00000;
|
||||
if (s->device_info->local != 3) {
|
||||
const uint16_t *eeprom_data = nmc93cxx_eeprom_data(s->eeprom);
|
||||
|
||||
s->subsys_id = eeprom_data[1];
|
||||
s->subsys_ven_id = eeprom_data[0];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user