Subject: kern/6187: isapnp depends on isadma
To: None <gnats-bugs@gnats.netbsd.org>
From: Herb Peyerl <hpeyerl@beer.org>
List: netbsd-bugs
Date: 09/22/1998 03:50:15
>Number:         6187
>Category:       kern
>Synopsis:       isapnp depends on isadma
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 22 03:05:00 1998
>Last-Modified:
>Originator:     Herb Peyerl
>Organization:
>Release:        NetBSD-current 09/10/98
>Environment:
	i386, pnp 3c509.
System: NetBSD lager.beer.org 1.3.1 NetBSD 1.3.1 (LAGER) #1: Sat Mar 14 11:43:41 MST 1998 hpeyerl@lager.beer.org:/usr/src/sys/arch/hp300/compile/LAGER hp300


>Description:
	if you have a single 3c509 in PNP mode in a machine and define
	the following in your config file:

		isapnp0 at isa?
		ep* at isapnp0

	then you get an unresolved reference during linktime due to
	isadma.c not being pulled in by config(8)

>How-To-Repeat:
	define the above two lines in a config file, don't define an
	isa or isapnp card that requires DMA (?) and run config(8).
>Fix:
	in files.isapnp change:

		attach isapnp at isa
	to:
		attach isapnp at isa: isadma
>Audit-Trail:
>Unformatted: