From 7d1ef449123df7d8926b1aea753fe92e1786ceb7 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sun, 15 Feb 2015 22:27:34 +0000 Subject: [PATCH] zx128: real fd first, mdv gets its own slot --- Kernel/platform-zx128/devices.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 }, -- 2.34.1