fdc/sparc32: don't hang on detection under OBP
authorArtyom Tarasenko <atar4qemu@googlemail.com>
Sun, 13 Dec 2009 13:30:44 +0000 (13:30 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 13 Dec 2009 13:30:44 +0000 (13:30 +0000)
commite1edf2296c617536610a8a29af18229ebe6327c5
treea3ff4483742ec33867dc4c2b944377b7fafe6903
parente48a8efd6daa6c34264b7ef825b33e491bed4c8f
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