fdc/sparc32: don't hang on detection under OBP
commit82407d1a4035e5bfefb53ffdcb270872f813b34c
authorArtyom Tarasenko <atar4qemu@googlemail.com>
Sun, 13 Dec 2009 13:30:44 +0000 (13 13:30 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 13 Dec 2009 13:30:44 +0000 (13 13:30 +0000)
treea3ff4483742ec33867dc4c2b944377b7fafe6903
parentc5de386ac9da35bf2cd7dc92893b0517f12bfc3a
fdc/sparc32: don't hang on detection under OBP

Stepping through the SS-5's OBP initialization routines
it looks like reading fdc main status register should
clear the fd interrupt.
The patch doesn't fix problems with fdc on sparc platform,
it only fixes fdc detection.

Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/fdc.c