From a7e32a491c43361baebb0543ba8ceaf06dd95aaa Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Mon, 10 Dec 2018 21:18:59 +0000 Subject: [PATCH] cromemco: put fd in the right major --- Kernel/platform-cromemco/devices.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Kernel/platform-cromemco/devices.c b/Kernel/platform-cromemco/devices.c index 4b869a75..ecbe9f62 100644 --- a/Kernel/platform-cromemco/devices.c +++ b/Kernel/platform-cromemco/devices.c @@ -10,11 +10,11 @@ struct devsw dev_tab[] = /* The device driver switch table */ { // minor open close read write ioctl // ----------------------------------------------------------------- - /* 0: /dev/fd Floppy disc block devices */ + /* 0: /dev/hd Hard disc block devices (absent) */ + { nxio_open, no_close, no_rdwr, no_rdwr , no_ioctl }, + /* 1: /dev/fd Floppy disc block devices */ /* TODO: add fd_ioctl and eject etc */ { fd_open, fd_close, fd_read, fd_write, no_ioctl }, - /* 1: /dev/hd Hard disc block devices (absent) */ - { nxio_open, no_close, no_rdwr, no_rdwr , no_ioctl }, /* 2: /dev/tty TTY devices */ { tty_open, tty_close, tty_read, tty_write, tty_ioctl }, /* 3: /dev/lpr Printer devices: none for now */ -- 2.34.1