Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 1996 20:34:19 -0500 (EST)
From:      "Jonathan M. Bresler" <jmb@FreeBSD.org>
To:        bmk@dtr.com
Cc:        "Clarence W. Wilkerson" <freebsd@hopf.math.purdue.edu>, brantk@atlas.com, current@FreeBSD.org
Subject:   Re: NEC changer
Message-ID:  <Pine.BSF.3.91.960124203319.601P-100000@Aspen.Woc.Atinc.COM>
In-Reply-To: <199601250013.QAA06929@dtr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 24 Jan 1996 bmk@dtr.com wrote:

> > Finally, in the line 278 code there is a "NCR" and in the line 342
> > code there is a "NRC". Is each correct?
> 
> That's the way it is according to the patches obtained from Jonathan
> Bresler <jmb@FreeBSD.ORG>.

	mea culpa.  my error.

	here are the original patches.

Received: from rmurphy.slip.bcm.tmc.edu (root@RMURPHY.SLIP.BCM.TMC.EDU [128.249.250.138])
          by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA26343
          Fri, 22 Dec 1995 15:28:26 -0800 (PST)
Received: (from rich@localhost) by rmurphy.slip.bcm.tmc.edu (8.6.12/8.6.9) id RAA02541; Fri, 22 Dec 1995 17:28:19 -0600
Date: Fri, 22 Dec 1995 17:28:19 -0600
Message-Id: <199512222328.RAA02541@rmurphy.slip.bcm.tmc.edu>
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
In-reply-to: <Pine.BSF.3.91.951221190850.17825A-100000@Aspen.Woc.Atinc.COM>
	(jmb@freebsd.org)
Subject: Re: NAKAMICHI cdrom changer
Reply-to: rich@lamprey.utmb.edu
Status: RO
X-Status: 

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?Pine.BSF.3.91.960124203319.601P-100000>