public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
980144f
)
trs80m1: and make the IDE drives visible
author
Alan Cox
<alan@linux.intel.com>
Fri, 10 Aug 2018 21:27:50 +0000
(22:27 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Fri, 10 Aug 2018 21:27:50 +0000
(22:27 +0100)
Kernel/platform-trs80m1/devices.c
patch
|
blob
|
history
diff --git
a/Kernel/platform-trs80m1/devices.c
b/Kernel/platform-trs80m1/devices.c
index
b140ec3
..
80cf706
100644
(file)
--- 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)