From luigi@iet.unipi.it  Fri Apr  4 08:32:27 1997
Received: from prova.iet.unipi.it (prova.iet.unipi.it [131.114.9.236])
          by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id IAA17974
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 4 Apr 1997 08:32:24 -0800 (PST)
Received: (from luigi@localhost) by prova.iet.unipi.it (8.6.12/8.6.12) id SAA00772; Fri, 4 Apr 1997 18:23:59 +0200
Message-Id: <199704041623.SAA00772@prova.iet.unipi.it>
Date: Fri, 4 Apr 1997 18:23:59 +0200
From: Luigi Rizzo <luigi@iet.unipi.it>
Reply-To: luigi@iet.unipi.it
To: FreeBSD-gnats-submit@freebsd.org
Subject: patch for CDD2600 support (Philips 2x/6x writer)
X-Send-Pr-Version: 3.2

>Number:         3196
>Category:       kern
>Synopsis:       patch for CDD2600 support (Philips 2x/6x writer)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr  4 08:40:01 PST 1997
>Closed-Date:    Fri Apr 4 23:19:52 MET DST 1997
>Last-Modified:  Fri Apr  4 13:30:01 PST 1997
>Originator:     Luigi Rizzo
>Release:        FreeBSD 2.2.1-RELEASE i386
>Organization:
DEIT
>Environment:

	--

>Description:

	The philips CDD2600 (2x/6x CD-R) identifies itself as a regular
	CD by default. The following patch makes it recognised as a worm
	drive.

>How-To-Repeat:

	--

>Fix:

File: /sys/scsi/scsiconf.c

# diff -ubwr scsiconf.c.orig scsiconf.c 
--- scsiconf.c.orig     Mon Mar 10 21:53:16 1997
+++ scsiconf.c  Fri Apr  4 19:31:39 1997
@@ -393,6 +393,11 @@
                T_READONLY, T_WORM, T_REMOV, "IMS", "CDD2000*", "*",
                "worm", SC_ONE_LU
        },
+       {
+               /* Philips drive, 2X/6X which otherwise shows up as CD  */
+               T_READONLY, T_WORM, T_REMOV, "PHILIPS", "CDD2600*", "*",
+               "worm", SC_ONE_LU
+       },
        /*
         * The Plasmon's are dual-faced: they appear as T_WORM if the
         * drive is empty, or a CD-R medium is in the drive, and they

	

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Fri Apr 4 23:19:52 MET DST 1997 
State-Changed-Why:  
Already included. 


From: j@uriah.heep.sax.de (J Wunsch)
To: luigi@iet.unipi.it
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: kern/3196: patch for CDD2600 support (Philips 2x/6x writer)
Date: Fri, 4 Apr 1997 23:00:24 +0200

 As Luigi Rizzo wrote:
 
 > >Number:         3196
 > >Category:       kern
 > >Synopsis:       patch for CDD2600 support (Philips 2x/6x writer)
 
 Sorry, you're only the second winner this time. :-)
 
 revision 1.83
 date: 1997/04/01 19:28:03;  author: joerg;  state: Exp;  lines: +6 -1
 Add an entry for the newer Philips CDD26xx family CD-R drives.  They
 come out with PHILIPS as the vendor string, as opposed to IMS for the
 older ones.
 
 Submitted by:   "Brian N. Handy" <handy@sag.space.lockheed.com>
 
 -- 
 cheers, J"org
 
 joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
 Never trust an operating system you don't have sources for. ;-)
>Unformatted:

