This implements the legacy-mode emulation option for via-ide which is
needed for Linux on fuloong2e. I've tested that the Debian kernel now
finds CD ROM and MorphOS on pegasos2 is not affected by this.
v2 adds review tags and fixes
BALATON Zoltan (1):
ide: Make room for flags in PCIIDEState and add one for legacy mode
Guenter Roeck (1):
via-ide: Fix fuloong2e support
hw/ide/cmd646.c | 4 ++--
hw/ide/via.c | 19 +++++++++++++++++--
hw/mips/fuloong2e.c | 4 +++-
hw/sparc64/sun4u.c | 2 +-
include/hw/ide/pci.h | 7 ++++++-
5 files changed, 29 insertions(+), 7 deletions(-)
--
2.21.3