Hi, This patchset is a cleanup of the PIIX4 PCI-ISA bridge. Lots of devices are moved from MIPS Malta board (which has a PIIX4) to PIIX4, where devices belong. This lets us reuse PIIX4 in other machines, while not loosing any functionality.
Last patch allows adding a new PIIX4 device directly from command line. Note that this will work only as long no other ISA bus already exist on the machine. Hervé Hervé Poussineau (15): fdc: move object structures to header file serial/parallel: move object structures to header file mc146818rtc: move structure to header file mc146818rtc: always register rtc to rtc list piix4: rename some variables in realize function piix4: add Reset Control Register piix4: add a i8259 interrupt controller as specified in datasheet piix4: add a i8257 dma controller as specified in datasheet piix4: add a i8254 pit controller as specified in datasheet piix4: add a i8042 keyboard/mouse controller as specified in datasheet piix4: add a floppy controller, 1 parallel port and 2 serial ports piix4: add a mc146818rtc controller as specified in datasheet piix4: add a speaker as specified in datasheet piix4: rename PIIX4 object to piix4-isa piix4: we can now instanciate a PIIX4 with -device hw/block/fdc.c | 101 ------------------------- hw/char/parallel.c | 31 +------- hw/char/serial-isa.c | 13 +--- hw/isa/piix4.c | 167 ++++++++++++++++++++++++++++++++++++----- hw/mips/mips_malta.c | 65 ++++++++-------- hw/ppc/pnv.c | 2 +- hw/timer/mc146818rtc.c | 43 ++--------- include/hw/block/fdc.h | 103 +++++++++++++++++++++++++ include/hw/char/isa.h | 50 ++++++++++++ include/hw/char/serial.h | 1 - include/hw/i386/pc.h | 1 - include/hw/timer/mc146818rtc.h | 29 +++++++ 12 files changed, 373 insertions(+), 233 deletions(-) create mode 100644 include/hw/char/isa.h -- 2.11.0