2 * SMS FDC37M817 Super I/O
4 * Copyright (c) 2018 Philippe Mathieu-Daudé
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
8 * SPDX-License-Identifier: GPL-2.0-or-later
11 #include "qemu/osdep.h"
12 #include "hw/isa/superio.h"
14 static void fdc37m81x_class_init(ObjectClass
*klass
, void *data
)
16 ISASuperIOClass
*sc
= ISA_SUPERIO_CLASS(klass
);
18 sc
->serial
.count
= 2; /* NS16C550A */
19 sc
->parallel
.count
= 1;
20 sc
->floppy
.count
= 1; /* SMSC 82077AA Compatible */
24 static const TypeInfo types
[] = {
26 .name
= TYPE_FDC37M81X_SUPERIO
,
27 .parent
= TYPE_ISA_SUPERIO
,
28 .class_init
= fdc37m81x_class_init
,