Subject: kern/2380: extra file
To: None <gnats-bugs@NetBSD.ORG>
From: Taras Ivanenko <ivanenko@taras.mit.edu>
List: netbsd-bugs
Date: 05/08/1996 09:30:48
>Number: 2380
>Category: kern
>Synopsis: The file am7990.c is included even when it is not needed
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed May 8 08:50:01 1996
>Last-Modified:
>Originator: Taras Ivanenko
>Organization:
MIT
>Release: 1.1
>Environment:
System: NetBSD taras.mit.edu 1.1B NetBSD 1.1B (TARAS) #10: Wed May 8 07:46:21 EST 1996 ivanenko@taras.mit.edu:/usr/src/sys/arch/mac68k/compile/TARAS mac68k
>Description:
I am building the kernel without any ethernet support but noticed that the file sys/dev/ic/am7990.c was included. After that, the kernel did not compile becasu of this file.
>How-To-Repeat:
compile the kernel without ethernet or do the following to the kernel wit non-le ethernet :
echo .text | as -o am7990.o -
>Fix:
*** /usr/src/sys/conf/files~ Tue May 7 06:30:13 1996
--- /usr/src/sys/conf/files Wed May 8 07:03:35 1996
***************
*** 35,41 ****
# LANCE and PCnet Ethernet controllers
device le: ether, ifnet
! file dev/ic/am7990.c
# Attributes which machine-independent bus support can be attached to.
# These should be defined here, because some of these busses can have
--- 35,41 ----
# LANCE and PCnet Ethernet controllers
device le: ether, ifnet
! file dev/ic/am7990.c le
# Attributes which machine-independent bus support can be attached to.
# These should be defined here, because some of these busses can have
>Audit-Trail:
>Unformatted: