summaryrefslogtreecommitdiff
path: root/sys/dev/atapiscsi
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2010-06-28 18:31:03 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2010-06-28 18:31:03 +0000
commit32d204697861b907520e94f82e392d3e7d6d661a (patch)
tree7bad5a228621b81780b7712982b6a979ce2df424 /sys/dev/atapiscsi
parent12135c2c16aaab7651a7b1c48ed35586452fadcc (diff)
Remove all adapter-specific 'struct scsi_device's. They are never used. First
step in elminating 'struct scsi_device' entirely. Spotted and initial diff from matthew@. ok matthew@ dlg@ deraadt@ marco@ miod@
Diffstat (limited to 'sys/dev/atapiscsi')
-rw-r--r--sys/dev/atapiscsi/atapiscsi.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/dev/atapiscsi/atapiscsi.c b/sys/dev/atapiscsi/atapiscsi.c
index 3df124fd8cc..d03ecfb5de2 100644
--- a/sys/dev/atapiscsi/atapiscsi.c
+++ b/sys/dev/atapiscsi/atapiscsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atapiscsi.c,v 1.90 2010/06/15 04:11:34 dlg Exp $ */
+/* $OpenBSD: atapiscsi.c,v 1.91 2010/06/28 18:31:01 krw Exp $ */
/*
* This code is derived from code with the copyright below.
@@ -177,14 +177,6 @@ static struct scsi_adapter atapiscsi_switch =
wdc_atapi_ioctl
};
-static struct scsi_device atapiscsi_dev =
-{
- NULL,
- NULL,
- NULL,
- NULL,
-};
-
/* Inital version shares bus_link structure so it can easily
be "attached to current" wdc driver */
@@ -249,7 +241,6 @@ atapiscsi_attach(parent, self, aux)
as->sc_adapterlink.adapter_target = 7;
as->sc_adapterlink.adapter_buswidth = 2;
as->sc_adapterlink.adapter = &atapiscsi_switch;
- as->sc_adapterlink.device = &atapiscsi_dev;
as->sc_adapterlink.luns = 1;
as->sc_adapterlink.openings = 1;
as->sc_adapterlink.flags = SDEV_ATAPI;