summaryrefslogtreecommitdiff
path: root/sys/dev/isa
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-02 13:51:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-02 13:51:54 +0000
commit5042288e631a70a7c5e69ca3034259a8223c4d94 (patch)
treede2847cd9f939b7fd876699287e6e6b1377328c3 /sys/dev/isa
parent7828ffbca662a907b36e851b4f506dcfb096f025 (diff)
make these work together
Diffstat (limited to 'sys/dev/isa')
-rw-r--r--sys/dev/isa/if_le.c20
1 files changed, 13 insertions, 7 deletions
diff --git a/sys/dev/isa/if_le.c b/sys/dev/isa/if_le.c
index b6016b092cd..bc7a2e6070e 100644
--- a/sys/dev/isa/if_le.c
+++ b/sys/dev/isa/if_le.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: if_le.c,v 1.8 1996/04/21 22:24:09 deraadt Exp $ */
-/* $NetBSD: if_le.c,v 1.41 1996/04/11 22:29:34 cgd Exp $ */
+/* $OpenBSD: if_le.c,v 1.9 1996/05/02 13:51:53 deraadt Exp $ */
+/* $NetBSD: if_le.c,v 1.43 1996/04/22 02:53:28 christos Exp $ */
/*-
* Copyright (c) 1995 Charles M. Hannum. All rights reserved.
@@ -110,6 +110,12 @@ struct cfdriver le_cd = {
};
integrate void
+lehwinit(sc)
+ struct le_softc *sc;
+{
+}
+
+integrate void
lewrcsr(sc, port, val)
struct le_softc *sc;
u_int16_t port, val;
@@ -389,11 +395,11 @@ leattach(parent, self, aux)
sc->sc_memsize = 16384;
}
- sc->sc_copytodesc = copytobuf_contig;
- sc->sc_copyfromdesc = copyfrombuf_contig;
- sc->sc_copytobuf = copytobuf_contig;
- sc->sc_copyfrombuf = copyfrombuf_contig;
- sc->sc_zerobuf = zerobuf_contig;
+ sc->sc_copytodesc = am7990_copytobuf_contig;
+ sc->sc_copyfromdesc = am7990_copyfrombuf_contig;
+ sc->sc_copytobuf = am7990_copytobuf_contig;
+ sc->sc_copyfrombuf = am7990_copyfrombuf_contig;
+ sc->sc_zerobuf = am7990_zerobuf_contig;
sc->sc_arpcom.ac_if.if_name = le_cd.cd_name;
leconfig(sc);