Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci make it compile without INET
details: https://anonhg.NetBSD.org/src/rev/9ba7e115ba28
branches: trunk
changeset: 518197:9ba7e115ba28
user: itojun <itojun%NetBSD.org@localhost>
date: Mon Nov 26 02:41:20 2001 +0000
description:
make it compile without INET
diffstat:
sys/dev/pci/if_ti.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r fd54f7e5d214 -r 9ba7e115ba28 sys/dev/pci/if_ti.c
--- a/sys/dev/pci/if_ti.c Mon Nov 26 02:39:33 2001 +0000
+++ b/sys/dev/pci/if_ti.c Mon Nov 26 02:41:20 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ti.c,v 1.43 2001/11/13 07:48:45 lukem Exp $ */
+/* $NetBSD: if_ti.c,v 1.44 2001/11/26 02:41:20 itojun Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -81,7 +81,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ti.c,v 1.43 2001/11/13 07:48:45 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ti.c,v 1.44 2001/11/26 02:41:20 itojun Exp $");
#include "bpfilter.h"
#include "opt_inet.h"
@@ -2029,6 +2029,7 @@
eh = mtod(m, struct ether_header *);
switch (ntohs(eh->ether_type)) {
+#ifdef INET
case ETHERTYPE_IP:
{
struct ip *ip = (struct ip *) (eh + 1);
@@ -2067,6 +2068,7 @@
}
break;
}
+#endif
default:
/* Nothing. */
break;
Home |
Main Index |
Thread Index |
Old Index