Date: Thu, 2 Mar 1995 21:43:26 -0500 From: "Paul F. Werkowski" <pw@snoopy.MV.COM> To: ports@FreeBSD.org Subject: fix for xmcd port Message-ID: <199503030243.VAA02421@snoopy.mv.com>
next in thread | raw e-mail | index | archive | help
I have found a problem in the FreeBSD specific code of xmcd-1.4 which caused two flavors of SCSI configurations to go nuts on sending certain audio commands to my NEC 4Xi CDROM drive. A two second timeout value is just not enough on my configuration. This fix solves the problem (so far). I hope someone can get this into the port tree. Thanks, Paul *** libdi.d/os_frbsd.c~ Thu Feb 16 11:15:34 1995 --- libdi.d/os_frbsd.c Thu Mar 2 21:14:53 1995 *************** *** 154,160 **** /* set up uscsi_cmd */ ucmd.databuf = (caddr_t) buf; /* data buffer */ ucmd.datalen = size; /* buffer length */ ! ucmd.timeout = 2000; /* 2 sec timeout */ if (size != 0) ucmd.flags |= (rw == READ_OP) ? SCCMD_READ : SCCMD_WRITE; --- 154,160 ---- /* set up uscsi_cmd */ ucmd.databuf = (caddr_t) buf; /* data buffer */ ucmd.datalen = size; /* buffer length */ ! ucmd.timeout = 10000; /* 10 sec timeout */ if (size != 0) ucmd.flags |= (rw == READ_OP) ? SCCMD_READ : SCCMD_WRITE;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503030243.VAA02421>