OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b4b86a
)
smc91c111: allow access to reserved register
author
Lars Munch
<lars@segv.dk>
Mon, 29 Mar 2010 13:17:18 +0000
(15:17 +0200)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Thu, 8 Apr 2010 19:24:34 +0000
(21:24 +0200)
Some drivers seems to access the reserved register in bank 0 so allow and
ignore these accesses.
Signed-off-by: Lars Munch <lars@segv.dk>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/smc91c111.c
patch
|
blob
|
history
diff --git
a/hw/smc91c111.c
b/hw/smc91c111.c
index
a2ef299
..
e4a2447
100644
(file)
--- a/
hw/smc91c111.c
+++ b/
hw/smc91c111.c
@@
-277,6
+277,8
@@
static void smc91c111_writeb(void *opaque, target_phys_addr_t offset,
case 10: case 11: /* RPCR */
/* Ignored */
return;
+ case 12: case 13: /* Reserved */
+ return;
}
break;
@@
-463,6
+465,8
@@
static uint32_t smc91c111_readb(void *opaque, target_phys_addr_t offset)
case 10: case 11: /* RPCR */
/* Not implemented. */
return 0;
+ case 12: case 13: /* Reserved */
+ return 0;
}
break;