Make this compile again on Amiga. Fix by Bernd Ernesti.

This commit is contained in:
is 1997-03-17 17:51:41 +00:00
parent 842df329b2
commit 19e9d7bb20
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_ed.c,v 1.25 1997/03/15 18:09:24 is Exp $ */
/* $NetBSD: if_ed.c,v 1.26 1997/03/17 17:51:42 is Exp $ */
/*
* Device driver for National Semiconductor DS8390/WD83C690 based ethernet
@ -210,6 +210,7 @@ ed_zbus_attach(parent, self, aux)
struct ifnet *ifp = &sc->sc_ethercom.ec_if;
u_char *prom;
int i;
u_int8_t myaddr[ETHER_ADDR_LEN];
if (zap->manid == HYDRA_MANID) {
sc->mem_start = zap->va;

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_le.c,v 1.24 1997/03/17 03:17:34 thorpej Exp $ */
/* $NetBSD: if_le.c,v 1.25 1997/03/17 17:51:41 is Exp $ */
/*-
* Copyright (c) 1995 Charles M. Hannum. All rights reserved.
@ -134,7 +134,6 @@ le_zbus_attach(parent, self, aux)
struct am7990_softc *sc = &lesc->sc_am7990;
struct zbus_args *zap = aux;
u_long ser;
u_int8_t myaddr[ETHER_ADDR_LEN];
lesc->sc_r1 = (struct lereg1 *)(lestd[1] + (int)zap->va);
sc->sc_mem = (void *)(lestd[2] + (int)zap->va);