Subject: port-i386/846: i386 fails to compile wdc without fdc too
To: None <gnats-admin@NetBSD.ORG>
From: Michael Graff <explorer@vorpal.com>
List: netbsd-bugs
Date: 03/06/1995 21:50:03
>Number:         846
>Category:       port-i386
>Synopsis:       i386 fails to compile wdc without fdc too
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar  6 21:50:02 1995
>Originator:     Michael Graff
>Organization:
Vorpal Communications

>Release:        1.0
>Environment:

System: NetBSD packrat.vorpal.com 1.0A NetBSD 1.0A (PACKRAT) #1: Fri Mar 3 03:47:17 CST 1995 explorer@packrat.vorpal.com:/usr/src/sys/arch/i386/compile/PACKRAT i386


>Description:

With the addition of DMA code to wdc, the files.i386.newconf needs to be
told of this.  A friend ran into this when he removed the fdc* from his
config (have no floppies, need no fdc :)

>How-To-Repeat:
compile a kernel without fdc or anything else which uses DMA.  Add wdc, and
Blam!  :)

>Fix:

Here is a patch, but you shouldn't need it.  :)

*** files.i386.newconf~	Wed Mar  1 21:48:17 1995
--- files.i386.newconf	Mon Mar  6 23:27:04 1995
***************
*** 131,137 ****
  file	dev/isa/mcd.c			mcd needs-flag
  major	{mcd = 7}
  device	wdc at isa {drive = -1}
! device	wd at wdc: disk
  file	dev/isa/wd.c			wdc needs-flag
  major	{wd = 0}
  device	wt at isa: tape, dma
--- 131,137 ----
  file	dev/isa/mcd.c			mcd needs-flag
  major	{mcd = 7}
  device	wdc at isa {drive = -1}
! device	wd at wdc: disk, dma
  file	dev/isa/wd.c			wdc needs-flag
  major	{wd = 0}
  device	wt at isa: tape, dma
>Audit-Trail:
>Unformatted: