Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Dec 1995 17:28:19 -0600
From:      Rich Murphey <rich@lamprey.utmb.edu>
To:        jmb@freebsd.org
Cc:        freebsd-hackers@freebsd.org, freebsd-scsi@freebsd.org, dufault@hda.com, bde@zeta.org.au, hm@altona.hamburg.com, se@mi.uni-koeln.de
Subject:   Re: NAKAMICHI cdrom changer
Message-ID:  <199512222328.RAA02541@rmurphy.slip.bcm.tmc.edu>
In-Reply-To: <Pine.BSF.3.91.951221190850.17825A-100000@Aspen.Woc.Atinc.COM> (jmb@freebsd.org)

next in thread | previous in thread | raw e-mail | index | archive | help
I'm using the Nakamichi MBR-7 connected to an adaptek 1742.

Julian E. suggested these chages.  These are diffs v.s. the
2.1-current code.  I still got a panic during this morning's sup which
I'm still trying to debug.  Rich





diff -rub /sys/scsi/scsiconf.c ./scsiconf.c
--- /sys/scsi/scsiconf.c	Mon Oct  9 21:49:13 1995
+++ ./scsiconf.c	Fri Dec 22 00:04:18 1995
@@ -276,6 +276,10 @@
 		"cd", SC_MORE_LUS
 	},
 	{
+		T_READONLY, T_REMOV, "NRC",	"MBR-7", "*",
+		"cd", SC_MORE_LUS
+	},
+	{
 		T_READONLY, T_REMOV, "CHINON",  "CD-ROM CDS-535","*",
 		"cd", SC_ONE_LU
 	},
@@ -331,6 +335,10 @@
 	},
 	{
 		T_READONLY, T_REMOV, "PIONEER", "CD-ROM DRM-602X"
+		    ,"any", "cd", SC_MORE_LUS
+	},
+	{
+		T_READONLY, T_REMOV, "NRC",	"MBR-7"
 		    ,"any", "cd", SC_MORE_LUS
 	},
 	{
diff -rub /sys/scsi/cd.c ./cd.c
--- /sys/scsi/cd.c	Tue May 30 03:13:20 1995
+++ ./cd.c	Fri Dec 22 00:02:51 1995
@@ -533,7 +533,7 @@
 		return;
 	}
 	cdqueues++;
-	if(cd->dkunit) {
+	if(cd->dkunit >= 0) {
 		dk_xfer[cd->dkunit]++;
 		dk_seek[cd->dkunit]++; /* don't know */
 		dk_wds[cd->dkunit] += bp->b_bcount >> 6;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512222328.RAA02541>