From: Alan Cox Date: Sun, 15 Feb 2015 22:27:34 +0000 (+0000) Subject: zx128: real fd first, mdv gets its own slot X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=7d1ef449123df7d8926b1aea753fe92e1786ceb7;p=FUZIX.git zx128: real fd first, mdv gets its own slot --- diff --git a/Kernel/platform-zx128/devices.c b/Kernel/platform-zx128/devices.c index 11595f84..5e0cbce2 100644 --- a/Kernel/platform-zx128/devices.c +++ b/Kernel/platform-zx128/devices.c @@ -11,13 +11,13 @@ struct devsw dev_tab[] = /* The device driver switch table */ { - /* 0: /dev/fd Floppy disc block devices */ + /* 0: /dev/fd Floppy disc block devices: disciple */ { fd_open, no_close, fd_read, fd_write, no_ioctl }, #ifdef CONFIG_IDE /* 1: /dev/hd Hard disc block devices */ - { blkdev_open, no_close, blkdev_read, blkdev_write, blkdev_ioctl }, + { blkdev_open, no_close, blkdev_read, blkdev_write, blkdev_ioctl }, #else - { no_open, no_close, no_rdwr, no_rdwr, no_ioctl }, + { no_open, no_close, no_rdwr, no_rdwr, no_ioctl }, #endif /* 2: /dev/tty TTY devices */ { tty_open, tty_close, tty_read, tty_write, vt_ioctl },