diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-05-22 07:28:12 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-05-22 07:28:12 +0000 |
commit | fd9e060acef1b974dd5e0e77791acea96f3f8972 (patch) | |
tree | 61f1b94e4869b84ccaaf6daa149f503cb0255ec2 /sys/arch/sparc/dev | |
parent | 6fb2159f5655e69d64e2efd85be100939c6ee94e (diff) |
Let this compile on SUN4 or SUN4C only kernels, PR #3269
Diffstat (limited to 'sys/arch/sparc/dev')
-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 418d160d1f3..3290c1cf4a9 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.21 2003/05/14 23:35:30 miod Exp $ */ +/* $OpenBSD: if_le.c,v 1.22 2003/05/22 07:28:11 miod Exp $ */ /* $NetBSD: if_le.c,v 1.50 1997/09/09 20:54:48 pk Exp $ */ /*- @@ -131,7 +131,9 @@ hide void lewrcsr(struct am7990_softc *, u_int16_t, u_int16_t); hide u_int16_t lerdcsr(struct am7990_softc *, u_int16_t); hide void lehwreset(struct am7990_softc *); hide void lehwinit(struct am7990_softc *); +#if defined(SUN4M) hide void lenocarrier(struct am7990_softc *); +#endif hide void lewrcsr(sc, port, val) |