Subject: port-i386/764: i386 kernel with isa but w/o dma
To: None <gnats-admin@NetBSD.ORG>
From: None <martin@euterpe.owl.de>
List: netbsd-bugs
Date: 01/29/1995 01:35:04
>Number:         764
>Category:       port-i386
>Synopsis:       kernels using isa without including dma.c won't compile
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 29 01:35:01 1995
>Originator:     Martin Husemann
>Organization:
private
>Release:        Jan 27 1995
>Environment:
System: NetBSD euterpe.owl.de 1.0A NetBSD 1.0A (EUTERPE) #2: Sat Jan 28 12:35:00 MET 1995 root@euterpe.owl.de:/usr/src/sys/arch/i386/compile/EUTERPE i386


>Description:

	Speaking "config.new" you can configure a kernel wich requires
	the property "isa" but won't require property "dma". This kernel
	won't compile since pmap.c stores something in isa_physmem,
	which is defined in dma.c

>How-To-Repeat:

	Try to build a minimal i386 kernel with sd0 on ahb0 and
	without fd* and no other devices requiring "dma".

>Fix:
	- For now, include a floppy drive in your kernel config, even 
	  if you don't have one.
	
	- Add dependency to files.i386.newconfig
	
	- Move declaration of isa_physmem to a file which is included
	  via property "isa"
>Audit-Trail:
>Unformatted: