From c1aa8f9767c7a80dfe409ead88fb4580ba016913 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Thu, 4 Jun 2015 19:42:47 +0100 Subject: [PATCH] dragon-nx-32: prepare to turn on IDE support --- Kernel/platform-dragon-nx32/config.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Kernel/platform-dragon-nx32/config.h b/Kernel/platform-dragon-nx32/config.h index dda5c83e..2632fea9 100644 --- a/Kernel/platform-dragon-nx32/config.h +++ b/Kernel/platform-dragon-nx32/config.h @@ -25,6 +25,11 @@ /* Permit large I/O requests to bypass cache and go direct to userspace */ #define CONFIG_LARGE_IO_DIRECT +#define MAX_BLKDEV 2 /* 2 IDE drives */ +#define DEVICE_IDE /* enable if IDE interface present */ +#define IDE_REG_CS1_BASE 0xFF50 +#define IDE_IS_MMIO 1 /* MMIO IDE */ + /* Video terminal, not a serial tty */ #define CONFIG_VT #define CONFIG_FONT8X8 -- 2.34.1