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:
39dfc92
)
Don't fail for "revert to poweron defaults" IDE command, by Carlo
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 17 Mar 2007 14:55:30 +0000
(14:55 +0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 17 Mar 2007 14:55:30 +0000
(14:55 +0000)
Marcelo Arenas Belon.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2485
c046a42c
-6fe2-441c-8c8c-
71466251a162
hw/ide.c
patch
|
blob
|
history
diff --git
a/hw/ide.c
b/hw/ide.c
index
d9c02ab
..
0cd2521
100644
(file)
--- a/
hw/ide.c
+++ b/
hw/ide.c
@@
-1729,6
+1729,8
@@
static void ide_ioport_write(void *opaque, uint32_t addr, uint32_t val)
goto abort_cmd;
/* XXX: valid for CDROM ? */
switch(s->feature) {
+ case 0xcc: /* reverting to power-on defaults enable */
+ case 0x66: /* reverting to power-on defaults disable */
case 0x02: /* write cache enable */
case 0x82: /* write cache disable */
case 0xaa: /* read look-ahead enable */