At the moment isa-bus.c is compiled unconditionally for all targets. However, some targets have never used legacy ISA devices. Many more targets have at least some machine types without ISA.
These patches allow ISA bus to be disabled in the configuration, thus allowing cut down configurations for targets and machine types that don't have ISA. In addition to creating the CONFIG_ISA_BUS config option itself, this involves breaking some non-obvious dependencies on the ISA code. David Gibson (4): Split serial-isa into its own config option Allow ISA bus to be configured out Split ISA and sysbus versions of m48t59 device Disable "info irq" and "info pic" for target-ppc default-configs/alpha-softmmu.mak | 1 + default-configs/arm-softmmu.mak | 1 + default-configs/i386-softmmu.mak | 1 + default-configs/mips-softmmu.mak | 1 + default-configs/mips64-softmmu.mak | 1 + default-configs/mips64el-softmmu.mak | 1 + default-configs/mipsel-softmmu.mak | 1 + default-configs/moxie-softmmu.mak | 2 + default-configs/pci.mak | 1 + default-configs/ppc-softmmu.mak | 1 + default-configs/ppc64-softmmu.mak | 1 + default-configs/ppcemb-softmmu.mak | 1 + default-configs/sh4-softmmu.mak | 1 + default-configs/sh4eb-softmmu.mak | 1 + default-configs/sparc-softmmu.mak | 1 + default-configs/sparc64-softmmu.mak | 1 + default-configs/unicore32-softmmu.mak | 1 + default-configs/x86_64-softmmu.mak | 1 + hw/char/Makefile.objs | 3 +- hw/isa/Makefile.objs | 2 +- hw/timer/Makefile.objs | 3 + hw/timer/m48t59-internal.h | 82 ++++++++++++ hw/timer/m48t59-isa.c | 180 +++++++++++++++++++++++++++ hw/timer/m48t59.c | 228 +++------------------------------- monitor.c | 2 +- 25 files changed, 306 insertions(+), 213 deletions(-) create mode 100644 hw/timer/m48t59-internal.h create mode 100644 hw/timer/m48t59-isa.c -- 2.4.3