From owner-freebsd-bugs Fri Apr 4 08:40:08 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA18248 for bugs-outgoing; Fri, 4 Apr 1997 08:40:08 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA18242; Fri, 4 Apr 1997 08:40:05 -0800 (PST) Resent-Date: Fri, 4 Apr 1997 08:40:05 -0800 (PST) Resent-Message-Id: <199704041640.IAA18242@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, luigi@iet.unipi.it 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 ; 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 Reply-To: luigi@iet.unipi.it To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/3196: patch for CDD2600 support (Philips 2x/6x writer) Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 3196 >Category: kern >Synopsis: patch for CDD2600 support (Philips 2x/6x writer) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Apr 4 08:40:01 PST 1997 >Last-Modified: >Originator: Luigi Rizzo >Organization: DEIT >Release: FreeBSD 2.2.1-RELEASE i386 >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 >Audit-Trail: >Unformatted: