NetBSD Problem Report #1068

From gnats  Fri May 19 13:30:01 1995
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.10/8.6.10) with ESMTP id NAA18354 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Fri, 19 May 1995 13:29:57 -0700
Message-Id: <199505191832.UAA01195@kiss.informatik.tu-muenchen.de>
Date: Fri, 19 May 1995 20:32:16 +0200
From: Rolf Grossmann <grossman@kiss.informatik.tu-muenchen.de>
Reply-To: grossman@kiss.informatik.tu-muenchen.de
To: gnats-bugs@NetBSD.ORG
Subject: update files.sparc and config files
X-Send-Pr-Version: 3.2

>Number:         1068
>Category:       port-sparc
>Synopsis:       update conf/* files to latest standards ;)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri May 19 13:35:03 +0000 1995
>Closed-Date:    Fri Jun 02 17:52:43 +0000 1995
>Last-Modified:  
>Originator:     Rolf Grossmann
>Release:        NetBSD-1.0A
>Organization:
	none really ...
>Environment:
	not relevant
System: NetBSD kiss 1.0A NetBSD 1.0A (TIGKI2) #30: Thu May 18 19:56:49 MET DST 1995 grossman@kiss:/export/netbsd/src/sys/arch/sparc/compile/TIGKI2 sparc


>Description:
	To keep up with the ongoing development and intentions to separate
	architecture dependant from architecture independent files, the
	scsi portion of the sparc configuration files should be updated
	to include the independent files.

>How-To-Repeat:
	read the files

>Fix:
	you can use this patch. it works for me.

===================================================================
RCS file: /export/netbsd/mastersrc/netbsd/sys/arch/sparc/conf/GENERIC,v
retrieving revision 1.1.1.2
diff -c -r1.1.1.2 GENERIC
*** GENERIC	1995/04/03 18:32:17	1.1.1.2
--- GENERIC	1995/05/19 17:56:35
***************
*** 111,119 ****

  scsibus* at esp?

! sd*	at scsibus? target ? drive ?
! st*	at scsibus? target ? drive ?
! cd*	at scsibus? target ? drive ?

  fdc0	at mainbus0
  fd*	at fdc0
--- 111,119 ----

  scsibus* at esp?

! sd*	at scsibus? target ? lun ?
! st*	at scsibus? target ? lun ?
! cd*	at scsibus? target ? lun ?

  fdc0	at mainbus0
  fd*	at fdc0
===================================================================
RCS file: /export/netbsd/mastersrc/netbsd/sys/arch/sparc/conf/GENERIC_SCSI3,v
retrieving revision 1.1.1.2
diff -c -r1.1.1.2 GENERIC_SCSI3
*** GENERIC_SCSI3	1995/04/03 18:32:08	1.1.1.2
--- GENERIC_SCSI3	1995/05/19 17:57:24
***************
*** 114,123 ****
  # Map scsi-id 3 to  sd0; no questions asked. Map the remaining drives
  # in the default order. This is because SunOS's rom swaps scsi-id 3 to
  # sd0, and scsi-id 0 to sd3.
! sd0	at scsibus? target 3 drive ?
! sd*	at scsibus? target ? drive ?
! st*	at scsibus? target ? drive ?
! cd*	at scsibus? target ? drive ?

  fdc0	at mainbus0
  fd*	at fdc0
--- 114,123 ----
  # Map scsi-id 3 to  sd0; no questions asked. Map the remaining drives
  # in the default order. This is because SunOS's rom swaps scsi-id 3 to
  # sd0, and scsi-id 0 to sd3.
! sd0	at scsibus? target 3 lun ?
! sd*	at scsibus? target ? lun ?
! st*	at scsibus? target ? lun ?
! cd*	at scsibus? target ? lun ?

  fdc0	at mainbus0
  fd*	at fdc0
===================================================================
RCS file: /export/netbsd/mastersrc/netbsd/sys/arch/sparc/conf/SUN4,v
retrieving revision 1.1.1.2
diff -c -r1.1.1.2 SUN4
*** SUN4	1995/04/03 18:32:11	1.1.1.2
--- SUN4	1995/05/19 17:58:31
***************
*** 82,90 ****

  scsibus* at esp?

! sd*	at scsibus? target ? drive ?
! st*	at scsibus? target ? drive ?
! cd*	at scsibus? target ? drive ?

  pseudo-device	loop
  pseudo-device	pty	32
--- 82,90 ----

  scsibus* at esp?

! sd*	at scsibus? target ? lun ?
! st*	at scsibus? target ? lun ?
! cd*	at scsibus? target ? lun ?

  pseudo-device	loop
  pseudo-device	pty	32
===================================================================
RCS file: /export/netbsd/mastersrc/netbsd/sys/arch/sparc/conf/SUN4C,v
retrieving revision 1.1.1.1
diff -c -r1.1.1.1 SUN4C
*** SUN4C	1995/02/09 19:05:07	1.1.1.1
--- SUN4C	1995/05/19 17:58:46
***************
*** 87,95 ****

  scsibus* at esp?

! sd*	at scsibus? target ? drive ?
! st*	at scsibus? target ? drive ?
! cd*	at scsibus? target ? drive ?

  pseudo-device	loop
  pseudo-device	pty	32
--- 87,95 ----

  scsibus* at esp?

! sd*	at scsibus? target ? lun ?
! st*	at scsibus? target ? lun ?
! cd*	at scsibus? target ? lun ?

  pseudo-device	loop
  pseudo-device	pty	32
===================================================================
RCS file: /export/netbsd/mastersrc/netbsd/sys/arch/sparc/conf/SUN4M,v
retrieving revision 1.1.1.1
diff -c -r1.1.1.1 SUN4M
*** SUN4M	1995/02/09 19:05:07	1.1.1.1
--- SUN4M	1995/05/19 17:59:06
***************
*** 79,87 ****
  scsibus* at esp?

  # drives here, drives there...
! sd*	at scsibus? target ? drive ?
! st*	at scsibus? target ? drive ?
! cd*	at scsibus? target ? drive ?

  pseudo-device	loop
  pseudo-device	pty	32
--- 79,87 ----
  scsibus* at esp?

  # drives here, drives there...
! sd*	at scsibus? target ? lun ?
! st*	at scsibus? target ? lun ?
! cd*	at scsibus? target ? lun ?

  pseudo-device	loop
  pseudo-device	pty	32
===================================================================
RCS file: /export/netbsd/mastersrc/netbsd/sys/arch/sparc/conf/TDR,v
retrieving revision 1.1.1.1
diff -c -r1.1.1.1 TDR
*** TDR	1995/02/09 19:05:07	1.1.1.1
--- TDR	1995/05/19 17:59:26
***************
*** 88,96 ****
  scsibus* at esp?

  # drives here, drives there...
! sd*	at scsibus? target ? drive ?
! st*	at scsibus? target ? drive ?
! cd*	at scsibus? target ? drive ?

  pseudo-device	loop
  pseudo-device	pty	32
--- 88,96 ----
  scsibus* at esp?

  # drives here, drives there...
! sd*	at scsibus? target ? lun ?
! st*	at scsibus? target ? lun ?
! cd*	at scsibus? target ? lun ?

  pseudo-device	loop
  pseudo-device	pty	32
===================================================================
RCS file: /export/netbsd/mastersrc/netbsd/sys/arch/sparc/conf/files.sparc,v
retrieving revision 1.1.1.1
diff -c -r1.1.1.1 files.sparc
*** files.sparc	1995/05/04 01:00:00	1.1.1.1
--- files.sparc	1995/05/19 14:56:48
***************
*** 43,53 ****
  device sbus at mainbus { slot = -1, offset = -1 }
  file	arch/sparc/dev/sbus.c		sbus

! define scsi {}
! file	scsi/scsi_base.c		scsi
! file	scsi/scsi_ioctl.c		scsi
! file	scsi/scsiconf.c			scsi

  major { sd = 7 }
  major { vnd = 8 }
  major { cd = 18 }
--- 43,53 ----
  device sbus at mainbus { slot = -1, offset = -1 }
  file	arch/sparc/dev/sbus.c		sbus

! #
! # Machine-independent SCSI drivers
! #

+ include "../../../scsi/files.scsi"
  major { sd = 7 }
  major { vnd = 8 }
  major { cd = 18 }
***************
*** 59,79 ****

  device esp at sbus, espdma, obio: scsi
  file	arch/sparc/dev/esp.c		esp needs-flag
- 
- device scsibus at scsi	{ target = -1, drive = -1 }
- 
- device cd at scsibus: disk
- file	scsi/cd.c			cd needs-flag
- device sd at scsibus: disk
- file	scsi/sd.c			sd needs-flag
- device st at scsibus: tape
- file	scsi/st.c			st needs-flag
- device ch at scsibus: disk
- file	scsi/ch.c			ch needs-flag
- device uk at scsibus: disk
- file	scsi/uk.c			uk needs-flag
- device su at scsibus: disk
- file	scsi/su.c			su needs-flag

  device bwtwo at sbus
  file	arch/sparc/dev/bwtwo.c		bwtwo needs-flag
--- 59,64 ----

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pk 
State-Changed-When: Fri Jun 2 10:52:43 PDT 1995 
State-Changed-Why:  
config files updated to use generic scsi declarations. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.