summaryrefslogtreecommitdiff
path: root/sys/dev/atapiscsi
diff options
context:
space:
mode:
authorConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2000-08-09 07:51:19 +0000
committerConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2000-08-09 07:51:19 +0000
commit8767b3563d8662e1a69c6cbfa41c4d8cb6143d4a (patch)
treef8d49b30d5b3ab55fd0f219c30e1e6022cc15be2 /sys/dev/atapiscsi
parentc51c3f2a71d75341991056a826156e3c052e8cf4 (diff)
Death to acd_stub.c. No longer needed
Diffstat (limited to 'sys/dev/atapiscsi')
-rw-r--r--sys/dev/atapiscsi/acd_stub.c51
-rw-r--r--sys/dev/atapiscsi/files.atapiscsi7
2 files changed, 1 insertions, 57 deletions
diff --git a/sys/dev/atapiscsi/acd_stub.c b/sys/dev/atapiscsi/acd_stub.c
deleted file mode 100644
index c248f733d9b..00000000000
--- a/sys/dev/atapiscsi/acd_stub.c
+++ /dev/null
@@ -1,51 +0,0 @@
-/* $OpenBSD: acd_stub.c,v 1.1 1999/07/18 23:21:54 csapuntz Exp $ */
-
-#include <sys/types.h>
-#include <sys/param.h>
-#include <sys/systm.h>
-#include <sys/kernel.h>
-#include <sys/conf.h>
-#include <sys/file.h>
-#include <sys/stat.h>
-#include <sys/ioctl.h>
-#include <sys/malloc.h>
-#include <sys/mtio.h>
-#include <sys/buf.h>
-#include <sys/uio.h>
-#include <sys/errno.h>
-#include <sys/device.h>
-#include <sys/disklabel.h>
-#include <sys/disk.h>
-#include <sys/cdio.h>
-#include <sys/proc.h>
-
-int acdmatch __P((struct device *, void *, void *));
-void acdattach __P((struct device *, struct device *, void *));
-
-
-struct cfattach acd_ca = {
- sizeof(struct acd_softc), acdmatch, acdattach
-};
-
-struct cfdriver acd_cd = {
- NULL, "acd", DV_DISK
-};
-
-int
-acdmatch(parent, match, aux)
- struct device *parent;
- void *match, *aux;
-{
- return (0);
-}
-
-void
-acdattach(parent, self, aux)
- struct device *parent, *self;
- void *aux;
-{
- panic("acdattach called");
-}
-
-
-
diff --git a/sys/dev/atapiscsi/files.atapiscsi b/sys/dev/atapiscsi/files.atapiscsi
index f347b6ba2d8..a95d16dd56b 100644
--- a/sys/dev/atapiscsi/files.atapiscsi
+++ b/sys/dev/atapiscsi/files.atapiscsi
@@ -1,4 +1,4 @@
-# $OpenBSD: files.atapiscsi,v 1.3 1999/07/18 23:21:54 csapuntz Exp $
+# $OpenBSD: files.atapiscsi,v 1.4 2000/08/09 07:51:18 csapuntz Exp $
# ATAPI transport for SCSI protocl
#
@@ -6,8 +6,3 @@ device atapiscsi: scsi
attach atapiscsi at atapi
file dev/atapiscsi/atapiscsi.c atapiscsi needs-flag
-# This is just so this whole ball of crud compiles
-# and links - do not try to use this device.
-device acd: disk
-attach acd at atapi
-file dev/atapiscsi/acd_stub.c acd needs-flag