From: Alan Cox Date: Thu, 4 Jun 2015 18:42:47 +0000 (+0100) Subject: dragon-nx-32: prepare to turn on IDE support X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=c1aa8f9767c7a80dfe409ead88fb4580ba016913;p=FUZIX.git dragon-nx-32: prepare to turn on IDE support --- 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