Subject: port-i386/8020: i386/conf/DISKLESS refers to old driver
To: None <gnats-bugs@gnats.netbsd.org>
From: Andrew Gillham <gillhaa@ghost.whirlpool.com>
List: netbsd-bugs
Date: 07/17/1999 15:20:50
>Number:         8020
>Category:       port-i386
>Synopsis:       i386/conf/DISKLESS refers to old driver
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    port-i386-maintainer (NetBSD/i386 Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 17 15:20:00 1999
>Last-Modified:
>Originator:     Andrew Gillham
>Organization:
-----------------------------------------------------------------
Andrew Gillham                            | This space left blank
gillham@whirlpool.com                     | inadvertently.
I speak for myself, not for my employer.  | Contact the publisher.
>Release:        1.4.1 release candidate
>Environment:
	NetBSD/i386 1.4.1 "release" branch
System: NetBSD ghost.whirlpool.com 1.4 NetBSD 1.4 (GENERIC) #0: Fri May 7 12:27:31 PDT 1999 perry@cynic.cynic.net:/usr/src/sys/arch/i386/compile/GENERIC i386


>Description:
	The i386/conf/DISKLESS kernel file refers to the 'ed' driver
	instead of the 'we' driver.  Therefore 'config DISKLESS' fails
	and requires editing of the kernel config file.
	The error is:
DISKLESS:207: ed0: unknown device `ed'
DISKLESS:208: ed1: unknown device `ed'
DISKLESS:209: ed2: unknown device `ed'
*** Stop.

>How-To-Repeat:
	(on a 1.4.1 release i386 system)
	cd /sys/arch/i386/conf
	config DISKLESS

>Fix:
	The 'ed' needs to be 'we' in the kernel config file.
	This patch handles it.

*** DISKLESS.orig	Sat Jan 23 10:35:21 1999
--- DISKLESS	Sat Jul 17 18:10:00 1999
***************
*** 204,212 ****
  # uncomment it unless you are actually using it.
  #wt0	at isa? port 0x308 irq 5 drq 1	# Archive and Wangtek QIC tape drives
  
! ed0	at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC and 3C503
! ed1	at isa? port 0x250 iomem 0xd8000 irq 9	#   ethernet cards
! ed2	at isa? port 0x300 iomem 0xcc000 irq 10
  #eg0	at isa? ...				# 3C505 ethernet cards
  el0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
  ep0	at isa? port ? irq ?			# 3C509 ethernet cards
--- 204,212 ----
  # uncomment it unless you are actually using it.
  #wt0	at isa? port 0x308 irq 5 drq 1	# Archive and Wangtek QIC tape drives
  
! we0	at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC and 3C503
! we1	at isa? port 0x250 iomem 0xd8000 irq 9	#   ethernet cards
! we2	at isa? port 0x300 iomem 0xcc000 irq 10
  #eg0	at isa? ...				# 3C505 ethernet cards
  el0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
  ep0	at isa? port ? irq ?			# 3C509 ethernet cards
>Audit-Trail:
>Unformatted: