Revision 1a8e2aaa hw/pcnet.c
b/hw/pcnet.c | ||
---|---|---|
1601 | 1601 |
printf("pcnet_aprom_writeb addr=0x%08x val=0x%02x\n", addr, val); |
1602 | 1602 |
#endif |
1603 | 1603 |
/* Check APROMWE bit to enable write access */ |
1604 |
if (pcnet_bcr_readw(s,2) & 0x80)
|
|
1604 |
if (pcnet_bcr_readw(s,2) & 0x100)
|
|
1605 | 1605 |
s->prom[addr & 15] = val; |
1606 | 1606 |
} |
1607 | 1607 |
|
Also available in: Unified diff