Subject: port-mac68k/3372: sn device requires arp code
To: None <gnats-bugs@gnats.netbsd.org>
From: Erik Bertelsen <erik@erik-be.uni-c.dk>
List: netbsd-bugs
Date: 03/21/1997 21:38:18
>Number:         3372
>Category:       port-mac68k
>Synopsis:       sn device requires arp code
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 21 11:50:02 1997
>Last-Modified:
>Originator:     Erik Bertelsen
>Organization:
	
>Release:        NetBSD-current 21 March 1997
>Environment:
	
System: NetBSD erik-be.uni-c.dk 1.2D NetBSD 1.2D (ERIKBE) #18: Sun Mar 16 18:30:17 MET 1997 erik@erik-be.uni-c.dk:/sw/NetBSD/src/sys/arch/i386/compile/ERIKBE i386
Well, really NetBSD/mac68k 1.2D, but that's not online


>Description:
	Compilation of a current kernel with new sonic ethernet (sn) device
	fails with missing externals.
	This is because if_arp.c is not compiled into the kernel.
>How-To-Repeat:
	Configure a NetBSD/mac68k kernel with a sn device (sonic ethernet).
>Fix:
This fix adds an arp flag to the sn device to make it similar to the ae device.
Index: files.mac68k
===================================================================
RCS file: /sw/cvs-base/src/sys/arch/mac68k/conf/files.mac68k,v
retrieving revision 1.1.1.12
diff -c -r1.1.1.12 files.mac68k
*** files.mac68k	1997/03/18 14:43:58	1.1.1.12
--- files.mac68k	1997/03/21 20:34:01
***************
*** 54,60 ****
  attach	ite at grf
  file	arch/mac68k/dev/ite.c		ite needs-flag
  
! device	sn: ifnet, ether
  attach	sn at obio_norm with sn_obio
  attach	sn at nubus with sn_nubus
  file	arch/mac68k/dev/if_sn.c		sn
--- 54,60 ----
  attach	ite at grf
  file	arch/mac68k/dev/ite.c		ite needs-flag
  
! device	sn: ifnet, ether, arp
  attach	sn at obio_norm with sn_obio
  attach	sn at nubus with sn_nubus
  file	arch/mac68k/dev/if_sn.c		sn

  regards
  Erik Bertelsen
>Audit-Trail:
>Unformatted: