From: Alan Cox Date: Fri, 10 Aug 2018 21:27:50 +0000 (+0100) Subject: trs80m1: and make the IDE drives visible X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=40db1a129b0d180b9a0ded64c9cb9b249120881d;p=FUZIX.git trs80m1: and make the IDE drives visible --- 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)