diff options
author | phk <phk@FreeBSD.org> | 1999-09-20 17:06:29 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-09-20 17:06:29 +0000 |
commit | 59bdedf6a05dfca2d3a1e662e26f4fe967766c62 (patch) | |
tree | ab4c7f15cf0df053e590344c83f99d0345bd7ab6 /sys | |
parent | 9099b1bf20932c2e0c9c759308946a5702d6911a (diff) | |
download | FreeBSD-src-59bdedf6a05dfca2d3a1e662e26f4fe967766c62.zip FreeBSD-src-59bdedf6a05dfca2d3a1e662e26f4fe967766c62.tar.gz |
Trying to set BAD144 handling on a CD is sufficiently "Dont Do That
then" that we don't need to give the ioctl special treatment.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/mcd/mcd.c | 3 | ||||
-rw-r--r-- | sys/dev/scd/scd.c | 3 | ||||
-rw-r--r-- | sys/i386/isa/matcd/matcd.c | 3 | ||||
-rw-r--r-- | sys/i386/isa/mcd.c | 3 | ||||
-rw-r--r-- | sys/i386/isa/scd.c | 3 |
5 files changed, 0 insertions, 15 deletions
diff --git a/sys/dev/mcd/mcd.c b/sys/dev/mcd/mcd.c index 19f35e6..b49cd55 100644 --- a/sys/dev/mcd/mcd.c +++ b/sys/dev/mcd/mcd.c @@ -52,7 +52,6 @@ static const char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore"; #include <sys/fcntl.h> #include <sys/buf.h> #include <sys/cdio.h> -#include <sys/dkbad.h> #include <sys/disklabel.h> #include <sys/kernel.h> @@ -580,8 +579,6 @@ MCD_TRACE("ioctl called 0x%lx\n", cmd); } switch (cmd) { - case DIOCSBAD: - return EINVAL; case DIOCGDINFO: *(struct disklabel *) addr = cd->dlabel; return 0; diff --git a/sys/dev/scd/scd.c b/sys/dev/scd/scd.c index 719c86b..b76c2d6 100644 --- a/sys/dev/scd/scd.c +++ b/sys/dev/scd/scd.c @@ -54,7 +54,6 @@ #include <sys/conf.h> #include <sys/buf.h> #include <sys/cdio.h> -#include <sys/dkbad.h> #include <sys/disklabel.h> #include <sys/kernel.h> @@ -435,8 +434,6 @@ scdioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct proc *p) return EIO; switch (cmd) { - case DIOCSBAD: - return EINVAL; case DIOCGDINFO: *(struct disklabel *)addr = cd->dlabel; return 0; diff --git a/sys/i386/isa/matcd/matcd.c b/sys/i386/isa/matcd/matcd.c index bef362d..2125a62 100644 --- a/sys/i386/isa/matcd/matcd.c +++ b/sys/i386/isa/matcd/matcd.c @@ -349,7 +349,6 @@ static char MATCDCOPYRIGHT[] = "Matsushita CD-ROM driver, Copr. 1994,1995 Frank #include <sys/systm.h> #include <sys/buf.h> -#include <sys/dkbad.h> #include <sys/cdio.h> #include <sys/disklabel.h> #include <sys/fcntl.h> @@ -1014,8 +1013,6 @@ int matcdioctl(dev_t dev, u_long command, caddr_t addr, return(EIO); /*<16>then drive really isn't ready*/ switch(command) { - case DIOCSBAD: - return(EINVAL); case DIOCGDINFO: *(struct disklabel *) addr = cd->dlabel; diff --git a/sys/i386/isa/mcd.c b/sys/i386/isa/mcd.c index 19f35e6..b49cd55 100644 --- a/sys/i386/isa/mcd.c +++ b/sys/i386/isa/mcd.c @@ -52,7 +52,6 @@ static const char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore"; #include <sys/fcntl.h> #include <sys/buf.h> #include <sys/cdio.h> -#include <sys/dkbad.h> #include <sys/disklabel.h> #include <sys/kernel.h> @@ -580,8 +579,6 @@ MCD_TRACE("ioctl called 0x%lx\n", cmd); } switch (cmd) { - case DIOCSBAD: - return EINVAL; case DIOCGDINFO: *(struct disklabel *) addr = cd->dlabel; return 0; diff --git a/sys/i386/isa/scd.c b/sys/i386/isa/scd.c index 719c86b..b76c2d6 100644 --- a/sys/i386/isa/scd.c +++ b/sys/i386/isa/scd.c @@ -54,7 +54,6 @@ #include <sys/conf.h> #include <sys/buf.h> #include <sys/cdio.h> -#include <sys/dkbad.h> #include <sys/disklabel.h> #include <sys/kernel.h> @@ -435,8 +434,6 @@ scdioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct proc *p) return EIO; switch (cmd) { - case DIOCSBAD: - return EINVAL; case DIOCGDINFO: *(struct disklabel *)addr = cd->dlabel; return 0; |