summaryrefslogtreecommitdiffstats
path: root/hw/fdc.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-09-10 11:43:26 +0200
committermalc <av1474@comtv.ru>2009-09-10 19:47:58 +0400
commit86c861578453b544fa67ad50d28c4460bee068c5 (patch)
tree639b1de76d4c0fdbd8ae2501da3288bc62ae28ce /hw/fdc.h
parent316940b06273c43ec8d58fcb0908267f7fa5d333 (diff)
downloadhqemu-86c861578453b544fa67ad50d28c4460bee068c5.zip
hqemu-86c861578453b544fa67ad50d28c4460bee068c5.tar.gz
qdev: drop iobase properties from isa bus
Lot of ISA devices work at fixed addresses, so having iobase as bus property doesn't make much sense. Devices which can have different iobases will get a device property. Also simply hard-code stuff which can't be configured anyway. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/fdc.h')
-rw-r--r--hw/fdc.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/fdc.h b/hw/fdc.h
index 04d64ea..1b81ec1 100644
--- a/hw/fdc.h
+++ b/hw/fdc.h
@@ -3,9 +3,7 @@
typedef struct fdctrl_t fdctrl_t;
-fdctrl_t *fdctrl_init_isa(int isairq, int dma_chann,
- uint32_t io_base,
- BlockDriverState **fds);
+fdctrl_t *fdctrl_init_isa(BlockDriverState **fds);
fdctrl_t *fdctrl_init_sysbus(qemu_irq irq, int dma_chann,
target_phys_addr_t mmio_base,
BlockDriverState **fds);
OpenPOWER on IntegriCloud