Subject: kern/33384: files.pci nfe device line missing arp
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <murray@river-styx.org>
List: netbsd-bugs
Date: 04/28/2006 09:50:00
>Number:         33384
>Category:       kern
>Synopsis:       files.pci nfe device line missing arp
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 28 09:50:00 +0000 2006
>Originator:     Murray Armfield
>Release:        NetBSD-current
>Organization:
N/A
>Environment:
NetBSD  3.99.18 NetBSD 3.99.18 (ZEUS) #0: Fri Apr 28 17:27:44 EST 2006  /usr/NetBSD/obj/sys/arch/amd64/compile/ZEUS amd64
>Description:
files.pci nfe definition is missing arp from the device line. This makes kernel compiles with nfe as the only included NIC fail.
>How-To-Repeat:
Try compiling a kernel with INET and nfe as the only NIC and the build will fail as NARP = 0 in arp.h and the build thinks there are no adpaters for INET networking.
>Fix:
--- files.pci.orig      2006-04-28 19:39:21.000000000 +1000
+++ files.pci
@@ -802,6 +802,6 @@ attach      ath at pci with ath_pci
 file   dev/pci/if_ath_pci.c            ath_pci

 # NVIDIA nForce Ethernet
-device  nfe: ether, ifnet, mii, mii_phy
+device  nfe: ether, ifnet, arp, mii, mii_phy
 attach  nfe at pci
 file    dev/pci/if_nfe.c                nfe