summaryrefslogtreecommitdiff
path: root/sys/arch/vax
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-07-02 09:28:41 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-07-02 09:28:41 +0000
commitf1f0c02f22cb198e5838a136bbe0709796421512 (patch)
treeb39754dff383bb0f2e7f8f5e0b28fedaff5df907 /sys/arch/vax
parente6e247e4f6cdde18d315e32b0fcc563b49d7e992 (diff)
Remove dead code; ok deraadt@
Diffstat (limited to 'sys/arch/vax')
-rw-r--r--sys/arch/vax/dec/files.dec9
-rw-r--r--sys/arch/vax/if/if_le.c11
2 files changed, 2 insertions, 18 deletions
diff --git a/sys/arch/vax/dec/files.dec b/sys/arch/vax/dec/files.dec
index 829b7ee4c0d..4eaea094ba3 100644
--- a/sys/arch/vax/dec/files.dec
+++ b/sys/arch/vax/dec/files.dec
@@ -1,17 +1,10 @@
-# $OpenBSD: files.dec,v 1.2 2005/03/08 20:00:24 tdeval Exp $
+# $OpenBSD: files.dec,v 1.3 2005/07/02 09:28:39 miod Exp $
# $NetBSD: files.dec,v 1.4 1999/08/04 07:17:51 nisimura Exp $
#
# Config file and device description for machine-independent
# code for devices for Digital Equipment Corp. systems.
# Included by ports that need it.
-# Attribute for DEC lance padded-DMA copy functions. Lance attachments
-# which need it should specify the le_de_subr attribute.
-define le_dec_subr
-
-# DMA copy functions.
-file arch/vax/dec/if_le_dec.c le_dec_subr
-
# LK201 keyboard
file arch/vax/dec/lk201_ws.c lkkbd
file arch/vax/dec/wskbdmap_lk201.c lkkbd
diff --git a/sys/arch/vax/if/if_le.c b/sys/arch/vax/if/if_le.c
index e7182e5c5e2..556e6695546 100644
--- a/sys/arch/vax/if/if_le.c
+++ b/sys/arch/vax/if/if_le.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_le.c,v 1.12 2004/07/07 23:10:45 deraadt Exp $ */
+/* $OpenBSD: if_le.c,v 1.13 2005/07/02 09:28:40 miod Exp $ */
/* $NetBSD: if_le.c,v 1.14 1999/08/14 18:40:23 ragge Exp $ */
/*-
@@ -116,7 +116,6 @@ u_int16_t lerdcsr(struct am7990_softc *, u_int16_t);
void lance_copytobuf_gap2(struct am7990_softc *, void *, int, int);
void lance_copyfrombuf_gap2(struct am7990_softc *, void *, int, int);
void lance_zerobuf_gap2(struct am7990_softc *, int, int);
-void leintr(void *);
struct cfattach le_ibus_ca = {
sizeof(struct le_softc), le_ibus_match, le_ibus_attach
@@ -312,11 +311,3 @@ lance_zerobuf_gap2(sc, boff, len)
len -= 2;
}
}
-
-void
-leintr(arg)
- void *arg;
-{
- int unit = (int)arg;
- am7990_intr(le_cd.cd_devs[unit]);
-}