floppy: move dma setup + drive connect to fdctrl_init_common()
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 22 Sep 2009 11:53:19 +0000 (13:53 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 5 Oct 2009 14:32:50 +0000 (09:32 -0500)
commit8a33c6b67c7d49f1642f2976e36e884c236149bf
tree52acc2fddbf717fa27e600b086110cf8e5ccfbff
parent9f1e8061c5f3fe0bebbd9608b34ea221010c8ba3
floppy: move dma setup + drive connect to fdctrl_init_common()

isa-fdc is completely qdev-ified with this patch applied, all
configuration uses properties.

sysbus-fdc needs dma_channel config fixed.  There is only one user
(mips_jazz) which uses dma channel 0.  Can anyone knowing this
platform suggest how to deal with it?  Is hardcoding fine?

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/fdc.c