On 16/11/23 11:33, Mark Cave-Ayland wrote:
These definitions are present in ioport.c which is currently only available when
CONFIG_IDE_ISA is enabled. Move them to the IDE core so that they can be made
available to PCI IDE controllers that support switching to legacy mode.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
---
hw/ide/core.c | 12 ++++++++++++
hw/ide/ioport.c | 12 ------------
include/hw/ide/internal.h | 3 +++
3 files changed, 15 insertions(+), 12 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>