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