summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-03-23 22:42:43 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-03-23 22:42:43 +0000
commit78ebca6e134ddb1da6d9623986c1c9990332eabc (patch)
treec31f8f88d9b21bb5130c57ee148f192f8734a41b /hw
parent5e2a64439961691d13835e9fdec9c6c972d8a4a5 (diff)
downloadqemu-78ebca6e134ddb1da6d9623986c1c9990332eabc.tar.gz
qemu-78ebca6e134ddb1da6d9623986c1c9990332eabc.tar.bz2
qemu-78ebca6e134ddb1da6d9623986c1c9990332eabc.zip
fixed IDE probe
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@680 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r--hw/ide.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide.c b/hw/ide.c
index 906c67f7a5..430e5afd58 100644
--- a/hw/ide.c
+++ b/hw/ide.c
@@ -1269,7 +1269,7 @@ static uint32_t ide_ioport_read(void *opaque, uint32_t addr1)
if (!s->bs)
ret = 0;
else
- ret = s->select;
+ ret = s->select | 0xa0;
break;
default:
case 7: