summary refs log tree commit diff stats
path: root/include/hw/isa/superio.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2018-03-08 23:39:32 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2018-03-12 16:12:48 +0100
commitcd9526ab7c04f2c32c63340b04401f6ed25682b9 (patch)
treec2ccc4678aadf3ef0ea576fa56b1abc8eeb24a50 /include/hw/isa/superio.h
parent4c3119a6e3ea7bdab718015b6f5176cfaf52f7ce (diff)
downloadfocaccia-qemu-cd9526ab7c04f2c32c63340b04401f6ed25682b9.tar.gz
focaccia-qemu-cd9526ab7c04f2c32c63340b04401f6ed25682b9.zip
hw/isa/superio: Factor out the serial code from pc87312.c
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20180308223946.26784-12-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw/isa/superio.h')
-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 e9879cfde1..0b516721c3 100644
--- a/include/hw/isa/superio.h
+++ b/include/hw/isa/superio.h
@@ -28,6 +28,7 @@ typedef struct ISASuperIODevice {
     /*< public >*/
 
     ISADevice *parallel[MAX_PARALLEL_PORTS];
+    ISADevice *serial[MAX_SERIAL_PORTS];
 } ISASuperIODevice;
 
 typedef struct ISASuperIOFuncs {
@@ -45,6 +46,7 @@ typedef struct ISASuperIOClass {
     DeviceRealize parent_realize;
 
     ISASuperIOFuncs parallel;
+    ISASuperIOFuncs serial;
 } ISASuperIOClass;
 
 #endif /* HW_ISA_SUPERIO_H */