From dawes@landfill.physics.usyd.edu.au  Sat Oct 18 22:08:52 1997
Received: from landfill.physics.usyd.edu.au (landfill.physics.usyd.edu.au [129.78.129.18])
          by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA22422
          for <FreeBSD-gnats-submit@freebsd.org>; Sat, 18 Oct 1997 22:08:47 -0700 (PDT)
          (envelope-from dawes@landfill.physics.usyd.edu.au)
Received: (from dawes@localhost) by landfill.physics.usyd.edu.au (8.8.5/8.8.2) id PAA19476; Sun, 19 Oct 1997 15:08:27 +1000 (EST)
Message-Id: <199710190508.PAA19476@landfill.physics.usyd.edu.au>
Date: Sun, 19 Oct 1997 15:08:27 +1000 (EST)
From: dawes@physics.usyd.edu.au
Reply-To: dawes@physics.usyd.edu.au
To: FreeBSD-gnats-submit@freebsd.org
Subject: Changer on Sun DLT4700 not recognised
X-Send-Pr-Version: 3.2

>Number:         4802
>Category:       kern
>Synopsis:       Changer on Sun DLT4700 not recognised
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          support
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 18 22:10:00 PDT 1997
>Closed-Date:    Sun Oct 19 11:37:57 MEST 1997
>Last-Modified:  Sun Oct 19 11:38:14 MEST 1997
>Originator:     David Dawes
>Release:        FreeBSD 2.2-STABLE i386
>Organization:
University of Sydney, Australia
>Environment:

Sun DLT4700 DLT auto-changer connected to a 2940 SCSI controller.

>Description:

Changer on Sun DLT4700 is not recognised.  The Vendor string for Sun's
oem'd Quantum DLT4700 is "SUN" rather than "Quantum", and there is no
entry for this in scsiconf.c.

>How-To-Repeat:

Connect a Sun DLT4700 DLT auto-changer, build a kernel with ch0 support,
and note that the changer is not detected at boot time.

>Fix:
	

*** sys/scsi/scsiconf.c.orig	Tue Oct  7 06:40:39 1997
--- sys/scsi/scsiconf.c	Sun Oct 19 15:01:15 1997
***************
*** 306,311 ****
--- 306,315 ----
  		"st", SC_MORE_LUS, 0
  	},
  	{
+ 		T_SEQUENTIAL, T_SEQUENTIAL, T_REMOV, "SUN", "DLT*", "*",
+ 		"st", SC_MORE_LUS, 0
+ 	},
+ 	{
  		T_SEQUENTIAL, T_SEQUENTIAL, T_REMOV, "HP", "C1553A", "*",
  		"st", SC_MORE_LUS, 0
  	},

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Sun Oct 19 11:37:57 MEST 1997 
State-Changed-Why:  

Patch applied in rev 1.96, thanks! 
>Unformatted:
