diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-07-17 11:01:48 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-07-17 11:01:48 +0000 |
commit | e81337624e00e9115c82c5b98e288a5942319605 (patch) | |
tree | 350ae0ffdff1a9f7852faa3198aa839cfb5397ba /hw/fdc.c | |
parent | f6e097e71ea7b64c56f95ef2068b7d7178feba56 (diff) |
Sparc32: fix fdc io_base
On some Sparc32 machines, fdc is located above 4G limit, so uint32_t is not
appropriate type for io_base.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/fdc.c')
-rw-r--r-- | hw/fdc.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -33,6 +33,7 @@ #include "qemu-timer.h" #include "isa.h" #include "sysbus.h" +#include "qdev-addr.h" /********************************************************/ /* debug Floppy devices */ @@ -1972,7 +1973,7 @@ static SysBusDeviceInfo fdc_info = { .qdev.props = (Property[]) { { .name = "io_base", - .info = &qdev_prop_uint32, + .info = &qdev_prop_taddr, .offset = offsetof(fdctrl_t, io_base), }, { |