summaryrefslogtreecommitdiff
path: root/hw/parallel.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-11-17 11:28:41 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-02 08:57:50 -0600
commit8fd2d2e5cfe16a18878aeae782f1d297ff048bb1 (patch)
treed569a79d59df78fea64b7d68b9216fb6a7d8e521 /hw/parallel.c
parent90c45ef5667baed43a4f5c1733b29b9cb3a377b1 (diff)
downloadqemu-8fd2d2e5cfe16a18878aeae782f1d297ff048bb1.tar.gz
qemu-8fd2d2e5cfe16a18878aeae782f1d297ff048bb1.tar.bz2
qemu-8fd2d2e5cfe16a18878aeae782f1d297ff048bb1.zip
Fix qdev property type definition for isa serial/parallel devices
Use the correct qdev property type for these devices. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/parallel.c')
-rw-r--r--hw/parallel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/parallel.c b/hw/parallel.c
index 5ae8348da0..12693d40d2 100644
--- a/hw/parallel.c
+++ b/hw/parallel.c
@@ -587,7 +587,7 @@ static ISADeviceInfo parallel_isa_info = {
.qdev.size = sizeof(ISAParallelState),
.init = parallel_isa_initfn,
.qdev.props = (Property[]) {
- DEFINE_PROP_HEX32("index", ISAParallelState, index, -1),
+ DEFINE_PROP_UINT32("index", ISAParallelState, index, -1),
DEFINE_PROP_HEX32("iobase", ISAParallelState, iobase, -1),
DEFINE_PROP_UINT32("irq", ISAParallelState, isairq, 7),
DEFINE_PROP_CHR("chardev", ISAParallelState, state.chr),