sparc: fix floppy TC line setup
authorBlue Swirl <blauwirbel@gmail.com>
Mon, 30 Jul 2012 15:24:23 +0000 (15:24 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Thu, 9 Aug 2012 18:34:57 +0000 (18:34 +0000)
commitacfbe712df86e20634b7860be91e16ae9aa39cd0
tree98a3566ee88d07c7c7965ca0129561553cdf1a7c
parentcea936b1b5c741c0456f9ccb90be54b5e4b589e5
sparc: fix floppy TC line setup

The qemu_irq for Terminal Count (TC) line between FDC and Slavio misc
device was created only after use, spotted by Clang compiler. Also,
it was not created if the FDC didn't exist.

Rearrange code to fix order. Always create the TC line.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/sun4m.c