Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc64/sparc64 allow the kernel to link with no ar...



details:   https://anonhg.NetBSD.org/src/rev/376211e53f88
branches:  trunk
changeset: 473348:376211e53f88
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun May 30 07:36:28 1999 +0000

description:
allow the kernel to link with no arp (ether) devices

diffstat:

 sys/arch/sparc64/sparc64/intr.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r ca5bdfa728d0 -r 376211e53f88 sys/arch/sparc64/sparc64/intr.c
--- a/sys/arch/sparc64/sparc64/intr.c   Sun May 30 04:21:29 1999 +0000
+++ b/sys/arch/sparc64/sparc64/intr.c   Sun May 30 07:36:28 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.c,v 1.13 1999/02/17 03:54:46 mrg Exp $ */
+/*     $NetBSD: intr.c,v 1.14 1999/05/30 07:36:28 mrg Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -133,6 +133,8 @@
        }
 }
 
+#include "arp.h"
+
 /*
  * Level 1 software interrupt (could also be Sbus level 1 interrupt).
  * Three possible reasons:
@@ -163,8 +165,10 @@
                        splx(s);
                        sir.sir_which[SIR_NET] = 0;
 #ifdef INET
+#if NARP > 0
                        if (n & (1 << NETISR_ARP))
                                arpintr();
+#endif
                        if (n & (1 << NETISR_IP))
                                ipintr();
 #endif



Home | Main Index | Thread Index | Old Index