summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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