zx128: real fd first, mdv gets its own slot
authorAlan Cox <alan@linux.intel.com>
Sun, 15 Feb 2015 22:27:34 +0000 (22:27 +0000)
committerAlan Cox <alan@linux.intel.com>
Sun, 15 Feb 2015 22:27:34 +0000 (22:27 +0000)
Kernel/platform-zx128/devices.c

index 11595f8..5e0cbce 100644 (file)
 
 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 },