From: Will Sowerbutts Date: Sun, 11 Jan 2015 23:47:25 +0000 (+0000) Subject: p112, n8vem-mark4: Update devices table for new blkdev ioctl. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=9cb35b0de6c4324f986073de2ddccceb049e2ebe;p=FUZIX.git p112, n8vem-mark4: Update devices table for new blkdev ioctl. --- diff --git a/Kernel/platform-n8vem-mark4/devices.c b/Kernel/platform-n8vem-mark4/devices.c index e5c493de..7cadb7be 100644 --- a/Kernel/platform-n8vem-mark4/devices.c +++ b/Kernel/platform-n8vem-mark4/devices.c @@ -12,7 +12,7 @@ struct devsw dev_tab[] = /* The device driver switch table */ { /* open close read write ioctl */ - { blkdev_open, no_close, blkdev_read, blkdev_write, no_ioctl }, /* 0: /dev/hd -- standard block device interface */ + { blkdev_open, no_close, blkdev_read, blkdev_write, blkdev_ioctl }, /* 0: /dev/hd -- standard block device interface */ { no_open, no_close, no_rdwr, no_rdwr, no_ioctl }, /* 1: unused slot */ { tty_open, tty_close, tty_read, tty_write, tty_ioctl }, /* 2: /dev/tty -- serial ports */ { no_open, no_close, no_rdwr, no_rdwr, no_ioctl }, /* 3: unused slot */ diff --git a/Kernel/platform-p112/devices.c b/Kernel/platform-p112/devices.c index f36711c1..9edd3de4 100644 --- a/Kernel/platform-p112/devices.c +++ b/Kernel/platform-p112/devices.c @@ -11,7 +11,7 @@ struct devsw dev_tab[] = /* The device driver switch table */ { /* open close read write ioctl */ - { blkdev_open, no_close, blkdev_read, blkdev_write, no_ioctl }, /* 0: /dev/hd -- standard block device interface */ + { blkdev_open, no_close, blkdev_read, blkdev_write, blkdev_ioctl }, /* 0: /dev/hd -- standard block device interface */ { no_open, no_close, no_rdwr, no_rdwr, no_ioctl }, /* 1: unused slot */ { tty_open, tty_close, tty_read, tty_write, tty_ioctl }, /* 2: /dev/tty -- serial ports */ { no_open, no_close, no_rdwr, no_rdwr, no_ioctl }, /* 3: unused slot */