summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/matcd
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-09-20 17:06:29 +0000
committerphk <phk@FreeBSD.org>1999-09-20 17:06:29 +0000
commit59bdedf6a05dfca2d3a1e662e26f4fe967766c62 (patch)
treeab4c7f15cf0df053e590344c83f99d0345bd7ab6 /sys/i386/isa/matcd
parent9099b1bf20932c2e0c9c759308946a5702d6911a (diff)
downloadFreeBSD-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/i386/isa/matcd')
-rw-r--r--sys/i386/isa/matcd/matcd.c3
1 files changed, 0 insertions, 3 deletions
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;
OpenPOWER on IntegriCloud