Commit 78ebca6e134ddb1da6d9623986c1c9990332eabc
1 parent
5e2a6443
fixed IDE probe
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@680 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
hw/ide.c
| @@ -1269,7 +1269,7 @@ static uint32_t ide_ioport_read(void *opaque, uint32_t addr1) | @@ -1269,7 +1269,7 @@ static uint32_t ide_ioport_read(void *opaque, uint32_t addr1) | ||
| 1269 | if (!s->bs) | 1269 | if (!s->bs) |
| 1270 | ret = 0; | 1270 | ret = 0; |
| 1271 | else | 1271 | else |
| 1272 | - ret = s->select; | 1272 | + ret = s->select | 0xa0; |
| 1273 | break; | 1273 | break; |
| 1274 | default: | 1274 | default: |
| 1275 | case 7: | 1275 | case 7: |