From 5042288e631a70a7c5e69ca3034259a8223c4d94 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 2 May 1996 13:51:54 +0000 Subject: make these work together --- sys/dev/isa/if_le.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'sys/dev/isa') 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. @@ -109,6 +109,12 @@ struct cfdriver le_cd = { NULL, "le", DV_IFNET }; +integrate void +lehwinit(sc) + struct le_softc *sc; +{ +} + integrate void lewrcsr(sc, port, val) struct le_softc *sc; @@ -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); -- cgit v1.2.3