diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-06-11 00:29:50 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-06-11 00:29:50 +0000 |
commit | 79cd93e5f7e6de51a557f90753a8c0a26cbf52c9 (patch) | |
tree | 9b311a3bf909fce6cfb5966750007854def29b80 | |
parent | 4f21df20f2a0d16374e88cdbbecf77ea14da871d (diff) |
Being able to compile sun4 (non-sun4c non-4m) kernels doesn't hurt.
-rw-r--r-- | sys/arch/sparc/dev/if_le.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/if_le.c b/sys/arch/sparc/dev/if_le.c index 24c5b4bfe9e..df6591847bb 100644 --- a/sys/arch/sparc/dev/if_le.c +++ b/sys/arch/sparc/dev/if_le.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_le.c,v 1.17 2001/01/15 23:23:57 jason Exp $ */ +/* $OpenBSD: if_le.c,v 1.18 2001/06/11 00:29:49 miod Exp $ */ /* $NetBSD: if_le.c,v 1.50 1997/09/09 20:54:48 pk Exp $ */ /*- @@ -478,10 +478,12 @@ leattach(parent, self, aux) { u_long laddr; +#if defined(SUN4C) || defined(SUN4M) if (sbuschild && CPU_ISSUN4M) laddr = (u_long)dvma_malloc_space(MEMSIZE, &sc->sc_mem, M_NOWAIT, M_SPACE_D24); else +#endif laddr = (u_long)dvma_malloc(MEMSIZE, &sc->sc_mem, M_NOWAIT); #if defined (SUN4M) |