Subject: port-i386/904: sb driver won't compile if no other devices use DMA
To: None <gnats-admin@NetBSD.ORG>
From: Scott Reynolds <scottr@Plexus.COM>
List: netbsd-bugs
Date: 03/24/1995 14:35:04
>Number: 904
>Category: port-i386
>Synopsis: sb driver won't compile if no other devices use DMA
>Confidential: no
>Severity: critical
>Priority: low
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 24 14:35:03 1995
>Originator:
>Organization:
Scott Reynolds
Technology Group, Inc.
>Release: NetBSD-current 17-Mar-95
>Environment:
System: NetBSD aqua 1.0A NetBSD 1.0A (TGI) #18: Thu Mar 16 10:07:56 1995 scottr@aqua:/a/src/sys/arch/i386/compile/TGI i386
>Description:
If a config is created with no other devices using DMA but the
SoundBlaster driver, the link will fail because dma.c isn't included
in the dependencies. An example of this is the provided DISKLESS
config.
>How-To-Repeat:
cd /sys/arch/i386/conf; config.new DISKLESS; cd ../compile/DISKLESS; \
make depend && make
>Fix:
*** /sys/arch/i386/conf/files.i386.newconf-dist Wed Mar 15 05:28:13 1995
--- /sys/arch/i386/conf/files.i386.newconf Thu Mar 23 16:49:10 1995
***************
*** 160,168 ****
define sbdsp
file arch/i386/isa/sbdsp.c sbdsp
! device sb at isa: audio, sbdsp
file arch/i386/isa/sb.c sb needs-flag
! device pas at isa: audio, sbdsp
file arch/i386/isa/pas.c pas needs-flag
define ad1848
--- 160,168 ----
define sbdsp
file arch/i386/isa/sbdsp.c sbdsp
! device sb at isa: audio, sbdsp, dma
file arch/i386/isa/sb.c sb needs-flag
! device pas at isa: audio, sbdsp, dma
file arch/i386/isa/pas.c pas needs-flag
define ad1848
>Audit-Trail:
>Unformatted: