diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1998-07-08 01:24:37 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1998-07-08 01:24:37 +0000 |
| commit | e77902181c85bbb5183c598741da75e0d5a17967 (patch) | |
| tree | 5953fbb1e8ba1adf441c5a4a179062a0acf25858 /sys/dev | |
| parent | 6deaf84b1fb56f29ac8bae22e9313aa71d86444f (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/de/if_de.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/sys/dev/de/if_de.c b/sys/dev/de/if_de.c index 6e755d85955f..e0a128e24891 100644 --- a/sys/dev/de/if_de.c +++ b/sys/dev/de/if_de.c @@ -1,5 +1,5 @@ -/* $NetBSD: if_de.c,v 1.69 1998/06/08 06:55:55 thorpej Exp $ */ -/* $Id: if_de.c,v 1.82 1998/03/08 16:53:54 peter Exp $ */ +/* $NetBSD: if_de.c,v 1.72 1998/07/05 06:49:14 jonathan Exp $ */ +/* $Id: if_de.c,v 1.83 1998/06/13 17:19:59 peter Exp $ */ /*- * Copyright (c) 1994-1997 Matt Thomas (matt@3am-software.com) @@ -39,8 +39,15 @@ */ #define TULIP_HDR_DATA +#ifdef __FreeBSD__ #include "opt_inet.h" #include "opt_ipx.h" +#endif + +#ifdef __NetBSD__ +#include "opt_inet.h" +#include "opt_ns.h" +#endif #include <sys/param.h> #include <sys/systm.h> @@ -4492,11 +4499,13 @@ tulip_txput( sc->tulip_intrmask |= TULIP_STS_TXINTR; TULIP_CSR_WRITE(sc, csr_intr, sc->tulip_intrmask); } +#if 0 /* this isn't working right yet */ } else if ((sc->tulip_flags & TULIP_PROMISC) == 0) { if (sc->tulip_intrmask & TULIP_STS_TXINTR) { sc->tulip_intrmask &= ~TULIP_STS_TXINTR; TULIP_CSR_WRITE(sc, csr_intr, sc->tulip_intrmask); } +#endif } TULIP_PERFEND(txput); return m; |
