eepro100: support 16 bit read from SCBCmd (== 2)
This is necessary to support OpenBSD 4.2 install, without this change it triggers an assert. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
5a2d0e57ad
commit
dbbaaff686
@ -1211,6 +1211,7 @@ static uint16_t eepro100_read2(EEPRO100State * s, uint32_t addr)
|
|||||||
switch (addr) {
|
switch (addr) {
|
||||||
case SCBStatus:
|
case SCBStatus:
|
||||||
//~ val = eepro100_read_status(s);
|
//~ val = eepro100_read_status(s);
|
||||||
|
case SCBCmd:
|
||||||
TRACE(OTHER, logout("addr=%s val=0x%04x\n", regname(addr), val));
|
TRACE(OTHER, logout("addr=%s val=0x%04x\n", regname(addr), val));
|
||||||
break;
|
break;
|
||||||
case SCBeeprom:
|
case SCBeeprom:
|
||||||
|
Loading…
Reference in New Issue
Block a user