[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 6/9] eepro100: Support byte read access to general c
From: |
Stefan Weil |
Subject: |
[Qemu-devel] [PATCH 6/9] eepro100: Support byte read access to general control register |
Date: |
Thu, 31 Mar 2011 22:33:28 +0200 |
The general control register is a byte register.
Add support for byte reads.
Signed-off-by: Stefan Weil <address@hidden>
---
hw/eepro100.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/hw/eepro100.c b/hw/eepro100.c
index 2332556..b51e391 100644
--- a/hw/eepro100.c
+++ b/hw/eepro100.c
@@ -1368,6 +1368,9 @@ static uint8_t eepro100_read1(EEPRO100State * s, uint32_t
addr)
val = 0;
TRACE(OTHER, logout("addr=%s val=0x%02x\n", regname(addr), val));
break;
+ case SCBgctrl: /* General Control Register */
+ TRACE(OTHER, logout("addr=%s val=0x%02x\n", regname(addr), val));
+ break;
case SCBgstat: /* General Status Register */
/* 100 Mbps full duplex, valid link */
val = 0x07;
--
1.7.2.5
- [Qemu-devel] eepro100: Improve emulation and portability, Stefan Weil, 2011/03/31
- [Qemu-devel] [PATCH 5/9] eepro100: Support byte/word read/write access to MDI control register, Stefan Weil, 2011/03/31
- [Qemu-devel] [PATCH 4/9] eepro100: Support byte/word writes to pointer register, Stefan Weil, 2011/03/31
- [Qemu-devel] [PATCH 8/9] eepro100: Pad received short frames, Stefan Weil, 2011/03/31
- [Qemu-devel] [PATCH 7/9] eepro100: Support 32 bit read access to flash register, Stefan Weil, 2011/03/31
- [Qemu-devel] [PATCH 2/9] eepro100: Fix endianness issues, Stefan Weil, 2011/03/31
- [Qemu-devel] [PATCH 9/9] eepro100: Simplify receive data structure, Stefan Weil, 2011/03/31
- [Qemu-devel] [PATCH 6/9] eepro100: Support byte read access to general control register,
Stefan Weil <=
- [Qemu-devel] [PATCH 3/9] eepro100: Support byte/word writes to port address, Stefan Weil, 2011/03/31
- [Qemu-devel] [PATCH 1/9] eepro100: Avoid duplicate debug messages, Stefan Weil, 2011/03/31