summaryrefslogtreecommitdiff
path: root/sys/arch/vax/vsa
diff options
context:
space:
mode:
authorHugh Graham <hugh@cvs.openbsd.org>2002-06-12 12:29:16 +0000
committerHugh Graham <hugh@cvs.openbsd.org>2002-06-12 12:29:16 +0000
commit282c579c4810dd9ab722ca1b4615e199ce4baf34 (patch)
tree340aba3d14a6c21a69de7da03278ae5ab094cea2 /sys/arch/vax/vsa
parent1011391522ea7ca027cdd9b31c496f5aeb0fe942 (diff)
No longer need these getdev routines.
Diffstat (limited to 'sys/arch/vax/vsa')
-rw-r--r--sys/arch/vax/vsa/ncr.c26
1 files changed, 1 insertions, 25 deletions
diff --git a/sys/arch/vax/vsa/ncr.c b/sys/arch/vax/vsa/ncr.c
index ab4e9f84728..44cf132af4d 100644
--- a/sys/arch/vax/vsa/ncr.c
+++ b/sys/arch/vax/vsa/ncr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ncr.c,v 1.12 2001/11/06 19:53:17 miod Exp $ */
+/* $OpenBSD: ncr.c,v 1.13 2002/06/12 12:29:15 hugh Exp $ */
/* $NetBSD: ncr.c,v 1.32 2000/06/25 16:00:43 ragge Exp $ */
/*-
@@ -481,27 +481,3 @@ si_dma_stop(ncr_sc)
if (sc->onlyscsi == 0)
vsbus_dma_intr(); /* Try to start more transfers */
}
-
-int
-sd_getdev (adaptor, controller, part, unit, uname)
- int adaptor, controller, part, unit;
- char **uname;
-{
- struct sd_softc *sd;
- struct scsi_link *sl;
- int i;
-
- for (i = 0; i < sd_cd.cd_ndevs; i++) {
- if ((sd = sd_cd.cd_devs[i]) == 0)
- continue;
-
- sl = sd->sc_link;
- if (sl->target == unit && sl->scsibus == adaptor &&
- sl->lun == part) {
- *uname = sd->sc_dev.dv_xname;
- return i;
- }
- }
- return -1;
-}
-