Skip to content

Commit

Permalink
hw/m68k: add a dummy SWIM floppy controller
Browse files Browse the repository at this point in the history
SWIM (Sander-Wozniak Integrated Machine) is the floppy controller of
the 680x0 Macintosh.

This patch introduces only the basic support: it allows to switch from
IWM (Integrated WOZ Machine) mode to the SWIM mode and makes the linux
driver happy.

It cannot read any floppy image.

Co-developed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Hervé Poussineau <hpoussin@reactos.org>
Message-Id: <20191026164546.30020-10-laurent@vivier.eu>
  • Loading branch information
vivier committed Oct 28, 2019
1 parent 8ac919a commit c701ec6
Show file tree
Hide file tree
Showing 6 changed files with 572 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MAINTAINERS
Expand Up @@ -923,9 +923,11 @@ S: Maintained
F: hw/misc/mac_via.c
F: hw/nubus/*
F: hw/display/macfb.c
F: hw/block/swim.c
F: include/hw/misc/mac_via.h
F: include/hw/nubus/*
F: include/hw/display/macfb.h
F: include/hw/block/swim.h

MicroBlaze Machines
-------------------
Expand Down
3 changes: 3 additions & 0 deletions hw/block/Kconfig
Expand Up @@ -37,3 +37,6 @@ config VHOST_USER_BLK
# Only PCI devices are provided for now
default y if VIRTIO_PCI
depends on VIRTIO && VHOST_USER && LINUX

config SWIM
bool
1 change: 1 addition & 0 deletions hw/block/Makefile.objs
Expand Up @@ -8,6 +8,7 @@ common-obj-$(CONFIG_XEN) += xen-block.o
common-obj-$(CONFIG_ECC) += ecc.o
common-obj-$(CONFIG_ONENAND) += onenand.o
common-obj-$(CONFIG_NVME_PCI) += nvme.o
common-obj-$(CONFIG_SWIM) += swim.o

obj-$(CONFIG_SH4) += tc58128.o

Expand Down

0 comments on commit c701ec6

Please sign in to comment.