aboutsummaryrefslogtreecommitdiff
path: root/hw/block/Kconfig
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2021-06-14 21:32:19 +0200
committerJohn Snow <jsnow@redhat.com>2021-06-25 08:53:28 -0400
commit1430759ec3e4cb92da224d739c914a0e8d78d786 (patch)
tree0d8028029dbc23a250cf0789b7c55b0320d6c7c6 /hw/block/Kconfig
parent72ea60e4114272f3030455c214e86bcf1c8a1a9e (diff)
downloadqemu-1430759ec3e4cb92da224d739c914a0e8d78d786.zip
qemu-1430759ec3e4cb92da224d739c914a0e8d78d786.tar.gz
qemu-1430759ec3e4cb92da224d739c914a0e8d78d786.tar.bz2
hw/block/fdc: Extract SysBus floppy controllers to fdc-sysbus.c
Some machines use floppy controllers via the SysBus interface, and don't need to pull in all the SysBus code. Extract the SysBus specific code to a new unit: fdc-sysbus.c, and add a new Kconfig symbol: "FDC_SYSBUS". Reviewed-by: John Snow <jsnow@redhat.com> Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20210614193220.2007159-6-philmd@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'hw/block/Kconfig')
-rw-r--r--hw/block/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/block/Kconfig b/hw/block/Kconfig
index 8c3be60..9e8f28f 100644
--- a/hw/block/Kconfig
+++ b/hw/block/Kconfig
@@ -6,6 +6,10 @@ config FDC_ISA
depends on ISA_BUS
select FDC
+config FDC_SYSBUS
+ bool
+ select FDC
+
config SSI_M25P80
bool