From 40db1a129b0d180b9a0ded64c9cb9b249120881d Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 10 Aug 2018 22:27:50 +0100 Subject: [PATCH] trs80m1: and make the IDE drives visible --- Kernel/platform-trs80m1/devices.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Kernel/platform-trs80m1/devices.c b/Kernel/platform-trs80m1/devices.c index b140ec35..80cf7061 100644 --- a/Kernel/platform-trs80m1/devices.c +++ b/Kernel/platform-trs80m1/devices.c @@ -35,6 +35,8 @@ struct devsw dev_tab[] = /* The device driver switch table */ { nxio_open, no_close, no_rdwr, no_rdwr, no_ioctl }, /* 8: tape (for now - may move to 5 if lots of boxes have tape) */ { tape_open, tape_close, tape_read, tape_write, tape_ioctl }, + /* 9: ide block devices (temporarily until we make /dev/hd a blkdev device */ + { blkdev_open, no_close, blkdev_read, blkdev_write, blkdev_ioctl }, }; bool validdev(uint16_t dev) -- 2.34.1