Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 1996 00:22:29 -0500 (CDT)
From:      "Lars Fredriksen" <fredriks@mcs.com>
To:        freebsd-scsi@freebsd.org
Subject:   Patch to cd driver for Nakamichi/NEC changer
Message-ID:  <m0uYQa6-0003ksC@mercury.mcs.com>

next in thread | raw e-mail | index | archive | help
Hi,
	Would someone try out the following patch to the cd driver. 
I ran into a problem where when I tried to play an audio cd on a 
Nakamichi/ Nex 2xc drive, it would reset my SCSI bus. Moving the 
timeout below up seem to have fixed it. I don't know if 20 is way 
overkill, but it does work. Peter Dufault suggested that there are other
places as well where the timeouts are probably to short for certain 
devices.

Lars


Index: cd.c
===================================================================
RCS file: /home/ncvs/src/sys/scsi/cd.c,v
retrieving revision 1.70
diff -c -r1.70 cd.c
*** cd.c	1996/06/12 05:10:51	1.70
--- cd.c	1996/06/13 20:15:25
***************
*** 1275,1281 ****
  		0,
  		0,
  		CDRETRIES,
! 		2000,
  		NULL,
  		0));
  }
--- 1275,1281 ----
  		0,
  		0,
  		CDRETRIES,
! 		20000,
  		NULL,
  		0));
  }

-- 
-------------------------------------------------------------------
Lars Fredriksen		fredriks@mcs.com		(home)
			lars@fredriks.pr.mcs.net	(home-home)



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