Subject: port-hp300/3165: major number declarations are missing from files.hp300
To: None <gnats-bugs@gnats.netbsd.org>
From: Klaus Klein <kleink@layla.inka.de>
List: netbsd-bugs
Date: 01/30/1997 21:59:49
>Number:         3165
>Category:       port-hp300
>Synopsis:       major number declarations missing from files.hp300
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 30 13:20:01 1997
>Last-Modified:
>Originator:     Klaus Klein
>Organization:
private site
>Release:        970130
>Environment:
System: NetBSD quesera.inka.de 1.2B NetBSD 1.2B (QUESERA) #56: Thu Jan 30 21:38:08 CET 1997 kleink@quesera.inka.de:/usr/src/sys/arch/hp300/compile/QUESERA hp300


>Description:
When the hp300 was switched over to config.new today, it was (probably
due the lack of config.new style mass storage drivers at the first
merge on 961217) forgotten to insert the disk and tape drivers' major
numbers into files.hp300; this is necessary to configure non-GENERIC
kernels e.g. to use hard-wired devices as their swap spaces.

>How-To-Repeat:
see above

>Fix:

RCS file: /cvsroot/netbsd/src/sys/arch/hp300/conf/files.hp300,v
retrieving revision 1.1.1.2
diff -b -c -r1.1.1.2 files.hp300
*** files.hp300	1997/01/30 19:42:07	1.1.1.2
--- files.hp300	1997/01/30 19:46:46
***************
*** 111,125 ****
--- 111,128 ----
  device	ct: tape
  attach	ct at hpibbus
  file	arch/hp300/dev/ct.c		ct needs-flag
+ major	{ct = 0}
  
  device	mt: tape
  attach	mt at hpibbus
  file	arch/hp300/dev/mt.c		mt needs-flag
+ major	{mt = 1}
  
  device	rd: disk
  attach	rd at hpibbus
  file	arch/hp300/dev/rd.c		rd needs-flag
  file	arch/hp300/dev/rd_compat.c	rd		# XXX
+ major	{rd = 2}
  
  device	ppi
  attach	ppi at hpibbus
***************
*** 135,140 ****
--- 138,144 ----
  attach	sd at oscsi
  file	arch/hp300/dev/sd.c		sd needs-flag
  file	arch/hp300/dev/sd_compat.c	sd		# XXX
+ major	{sd = 4}
  
  device	st: tape
  attach	st at oscsi
***************
*** 177,182 ****
--- 181,188 ----
  file	dev/cninit.c
  
  file	kludge_for_in_proto.c			hy needs-flag
+ 
+ major	{vnd = 6}
  
  #
  # HP-UX binary compatibility
>Audit-Trail:
>Unformatted: