Subject: port-next68k/6725: move devices from std.next68k to GENERIC
To: None <gnats-bugs@gnats.netbsd.org>
From: None <deberg@MIT.EDU>
List: netbsd-bugs
Date: 01/03/1999 22:47:28
>Number:         6725
>Category:       port-next68k
>Synopsis:       unlike other ports, next68k includes devices in std file
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-next68k-maintainer (NetBSD/next68k Portmaster)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jan  3 19:50:01 1999
>Last-Modified:
>Originator:     matt debergalis
>Organization:
matt debergalis <deberg@mit.edu> KB1CTH
finger deberg@ai.mit.edu for PGP key
>Release:        -current 19980103
>Environment:
System: NetBSD sunrise.ne.mediaone.net 1.3I NetBSD 1.3I (SUNRISE) #2: Tue Dec 29 14:21:21 EST 1998 deberg@sunrise.ne.mediaone.net:/src/netbsd/src/sys/arch/i386/compile/SUNRISE i386

>Description:
        unlike other ports, the next68k port includes devices in
        std.next68k instead of individual configuration files.  this
        makes it difficult (impossible) to remove support for
        "essential" devices that i really don't want.
>How-To-Repeat:
        try, for example, to remove support for the scsi controller.
>Fix:

*** /src/netbsd/src/sys/arch/next68k/conf/std.next68k	Wed Nov 18 16:24:29 1998
--- /src/netbsd/src/sys/arch/next68k/conf/std.next68k.bare	Sun Jan  3 22:43:26 1999
***************
*** 3,44 ****
  # Standard information for next68k
  machine	next68k m68k
  
- # Devices that should be present in any next kernel
- 
- # The root node:
- mainbus0 at root
- 
- #fpu0 at mainbus?
- 
- # device space
- intio0  at mainbus?
- 
- # INTIO
- zsc0    at intio? ipl 5
- #zsc1    at intio? ipl 5
- 
- xe*     at intio? ipl 3         # ethernet
- 
- esp0    at intio? ipl 3         flags 0xff00 # Turn off sync negotiation
- 
- #
- # Serial ports
- #
- zstty0	at zsc0 channel 0	# ttya
- zstty1	at zsc0 channel 1	# ttyb
- 
- # SCSI bus support
- scsibus* at scsi?
- 
- # SCSI devices
- sd*	at scsibus? target ? lun ?	# SCSI disk drives
- st*	at scsibus? target ? lun ?	# SCSI tape drives
- cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
- ch*	at scsibus? target ? lun ?	# SCSI autochangers
- se*	at scsibus? target ? lun ?	# SCSI ethernet
- ss*	at scsibus? target ? lun ?	# SCSI scanners
- uk*	at scsibus? target ? lun ?	# SCSI unknown
- 
  # Standard defines
  options 	EXEC_AOUT
  options 	EXEC_SCRIPT
--- 3,8 ----

*** /src/netbsd/src/sys/arch/next68k/conf/GENERIC	Sat Jan  2 00:08:40 1999
--- /src/netbsd/src/sys/arch/next68k/conf/GENERIC.bare	Sun Jan  3 22:46:29 1999
***************
*** 109,114 ****
--- 109,153 ----
  
  config		netbsd root on ? type ?
  
+ #
+ # Device configuration
+ #
+ 
+ # The root node:
+ mainbus0 at root
+ 
+ #fpu0 at mainbus?
+ 
+ # device space
+ intio0  at mainbus?
+ 
+ # INTIO
+ zsc0    at intio? ipl 5
+ #zsc1    at intio? ipl 5
+ 
+ xe*     at intio? ipl 3         # ethernet
+ 
+ esp0    at intio? ipl 3         flags 0xff00 # Turn off sync negotiation
+ 
+ #
+ # Serial ports
+ #
+ zstty0	at zsc0 channel 0	# ttya
+ zstty1	at zsc0 channel 1	# ttyb
+ 
+ # SCSI bus support
+ scsibus* at scsi?
+ 
+ # SCSI devices
+ sd*	at scsibus? target ? lun ?	# SCSI disk drives
+ st*	at scsibus? target ? lun ?	# SCSI tape drives
+ cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
+ ch*	at scsibus? target ? lun ?	# SCSI autochangers
+ se*	at scsibus? target ? lun ?	# SCSI ethernet
+ ss*	at scsibus? target ? lun ?	# SCSI scanners
+ uk*	at scsibus? target ? lun ?	# SCSI unknown
+ 
+ 
  # Memory-disk drivers
  pseudo-device	md		2
  
>Audit-Trail:
>Unformatted: