aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2018-03-08 23:39:35 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2018-03-12 16:12:49 +0100
commitc16a4e1bc5e76a65cfa38266a1d9e88806b4bddf (patch)
tree51302e909603d1ba3c0b11f35284971b3cf9c854 /include
parent72d3d8f052a19abc455ddc88efef75c407ac7c8d (diff)
downloadqemu-c16a4e1bc5e76a65cfa38266a1d9e88806b4bddf.zip
qemu-c16a4e1bc5e76a65cfa38266a1d9e88806b4bddf.tar.gz
qemu-c16a4e1bc5e76a65cfa38266a1d9e88806b4bddf.tar.bz2
hw/isa/superio: Factor out the IDE code from pc87312.c
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20180308223946.26784-15-f4bug@amsat.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/isa/superio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/isa/superio.h b/include/hw/isa/superio.h
index 2fc33bf..3dd5448 100644
--- a/include/hw/isa/superio.h
+++ b/include/hw/isa/superio.h
@@ -31,6 +31,7 @@ typedef struct ISASuperIODevice {
ISADevice *serial[MAX_SERIAL_PORTS];
ISADevice *floppy;
ISADevice *kbc;
+ ISADevice *ide;
} ISASuperIODevice;
typedef struct ISASuperIOFuncs {
@@ -50,6 +51,7 @@ typedef struct ISASuperIOClass {
ISASuperIOFuncs parallel;
ISASuperIOFuncs serial;
ISASuperIOFuncs floppy;
+ ISASuperIOFuncs ide;
} ISASuperIOClass;
#endif /* HW_ISA_SUPERIO_H */