mirror of
https://git.proxmox.com/git/qemu
synced 2025-06-27 15:00:13 +00:00
Less magic constants, by Filip Navara.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3170 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
baa7666c74
commit
3257d2b64f
@ -140,6 +140,7 @@ enum speedo_offsets {
|
|||||||
SCBflash = 12, SCBeeprom = 14, /* EEPROM and flash memory control. */
|
SCBflash = 12, SCBeeprom = 14, /* EEPROM and flash memory control. */
|
||||||
SCBCtrlMDI = 16, /* MDI interface control. */
|
SCBCtrlMDI = 16, /* MDI interface control. */
|
||||||
SCBEarlyRx = 20, /* Early receive byte count. */
|
SCBEarlyRx = 20, /* Early receive byte count. */
|
||||||
|
SCBFlow = 24,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* A speedo3 transmit buffer descriptor with two buffers... */
|
/* A speedo3 transmit buffer descriptor with two buffers... */
|
||||||
@ -1256,10 +1257,10 @@ static void eepro100_write1(EEPRO100State * s, uint32_t addr, uint8_t val)
|
|||||||
eepro100_interrupt(s, 0);
|
eepro100_interrupt(s, 0);
|
||||||
break;
|
break;
|
||||||
case SCBPort + 3:
|
case SCBPort + 3:
|
||||||
case 24:
|
case SCBFlow:
|
||||||
case 25:
|
case SCBFlow + 1:
|
||||||
case 26:
|
case SCBFlow + 2:
|
||||||
case 27:
|
case SCBFlow + 3:
|
||||||
logout("addr=%s val=0x%02x\n", regname(addr), val);
|
logout("addr=%s val=0x%02x\n", regname(addr), val);
|
||||||
break;
|
break;
|
||||||
case SCBeeprom:
|
case SCBeeprom:
|
||||||
|
Loading…
Reference in New Issue
Block a user