Subject: kern/3308: scsi quirk SDEV_NOMODESENSE for optical device is nolonger needed.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <enami@ba2.so-net.or.jp>
List: netbsd-bugs
Date: 03/10/1997 22:37:33
>Number:         3308
>Category:       kern
>Synopsis:       scsi quirk SDEV_NOMODESENSE for optical device is nolonger needed.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 10 05:50:01 1997
>Last-Modified:
>Originator:     enami tsugutomo
>Organization:
	an indivisual
>Release:        NetBSD-current 1997 Mar 10
>Environment:
System: NetBSD pavlov.enami.ba2.so-net.or.jp 1.2C NetBSD 1.2C (PAVLOV) #185: Sat Mar 8 21:34:07 JST 1997 enami@pavlov.enami.ba2.so-net.or.jp:/b/netbsd/kernel/compile/PAVLOV i386


>Description:
	The scsi quirk SDEV_NOMODESENSE for the device T_OPTICAL is nolonger
	needed.
>How-To-Repeat:
	Read the source, then you will find that with recent commit to sd.c,
	SDEV_NOMODESENSE become not to examined for the device T_OPTICAL.
>Fix:
	Just remove following quirks:

Index: scsiconf.c
===================================================================
RCS file: /a/cvsroot/NetBSD/src/sys/scsi/scsiconf.c,v
retrieving revision 1.1.1.6
diff -u -r1.1.1.6 scsiconf.c
--- scsiconf.c	1996/12/16 02:51:38	1.1.1.6
+++ scsiconf.c	1997/03/10 13:00:40
@@ -387,10 +387,6 @@
 
 	{{T_OPTICAL, T_REMOV,
 	 "EPSON   ", "OMD-5010        ", "3.08"}, SDEV_NOLUNS},
-	{{T_OPTICAL, T_REMOV,
-	 "FUJITSU", "M2513A",		 "0800"}, SDEV_NOMODESENSE},
-	{{T_OPTICAL, T_REMOV,
-	 "DELTIS  ", "MOS321          ", "3.30"}, SDEV_NOMODESENSE},
 
 	{{T_DIRECT, T_FIXED,
 	 "DEC     ", "RZ55     (C) DEC", ""},     SDEV_AUTOSAVE},
>Audit-Trail:
>Unformatted: