From c69e134f79a981f95ebef6f21855cfd18910c60e Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Thu, 9 Aug 2018 19:15:37 +0100 Subject: [PATCH] rc2014: hopefully correctly turn on the IDE CF --- Kernel/platform-rc2014/config.h | 2 -- Kernel/platform-rc2014/devices.c | 2 +- Kernel/platform-rc2014/fuzix.lnk | 2 ++ 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Kernel/platform-rc2014/config.h b/Kernel/platform-rc2014/config.h index a1323850..9fa4ea6a 100644 --- a/Kernel/platform-rc2014/config.h +++ b/Kernel/platform-rc2014/config.h @@ -8,8 +8,6 @@ #define CONFIG_MULTI /* Single tasking */ #undef CONFIG_SINGLETASK -/* CP/M emulation */ -#undef CONFIG_CPM_EMU /* Flexible 4x16K banking */ #define CONFIG_BANK16 /* Permit large I/O requests to bypass cache and go direct to userspace */ diff --git a/Kernel/platform-rc2014/devices.c b/Kernel/platform-rc2014/devices.c index 63bbb7d1..fb6c9afe 100644 --- a/Kernel/platform-rc2014/devices.c +++ b/Kernel/platform-rc2014/devices.c @@ -13,7 +13,7 @@ struct devsw dev_tab[] = /* The device driver switch table */ { /* open close read write ioctl */ /* 0: /dev/hd - block device interface */ -#ifdef CONFIG_PPIDE +#ifdef CONFIG_IDE { blkdev_open, no_close, blkdev_read, blkdev_write, blkdev_ioctl}, #else { no_open, no_close, no_rdwr, no_rdwr, no_ioctl}, diff --git a/Kernel/platform-rc2014/fuzix.lnk b/Kernel/platform-rc2014/fuzix.lnk index 8137f34a..75a5d5f5 100644 --- a/Kernel/platform-rc2014/fuzix.lnk +++ b/Kernel/platform-rc2014/fuzix.lnk @@ -46,6 +46,8 @@ platform-rc2014/discard.rel platform-rc2014/devtty.rel platform-rc2014/mbr.rel platform-rc2014/blkdev.rel +platform-rc2014/devide.rel +platform-rc2014/devide_discard.rel platform-rc2014/monitor.rel platform-rc2014/devinput.rel -e -- 2.34.1