From 01849b81ca15ba40d232d321b4be38f80d705323 Mon Sep 17 00:00:00 2001 From: mrg Date: Sun, 30 May 1999 07:36:28 +0000 Subject: [PATCH] allow the kernel to link with no arp (ether) devices --- sys/arch/sparc64/sparc64/intr.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/arch/sparc64/sparc64/intr.c b/sys/arch/sparc64/sparc64/intr.c index eb575db025cd..f386c541b66f 100644 --- a/sys/arch/sparc64/sparc64/intr.c +++ b/sys/arch/sparc64/sparc64/intr.c @@ -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 @@ strayintr(fp) } } +#include "arp.h" + /* * Level 1 software interrupt (could also be Sbus level 1 interrupt). * Three possible reasons: @@ -163,8 +165,10 @@ soft01intr(fp) 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