From owner-cvs-sys Tue Dec 24 03:35:27 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id DAA19227 for cvs-sys-outgoing; Tue, 24 Dec 1996 03:35:27 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id DAA19220; Tue, 24 Dec 1996 03:35:26 -0800 (PST) Date: Tue, 24 Dec 1996 03:35:26 -0800 (PST) From: Joerg Wunsch Message-Id: <199612241135.DAA19220@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/scsi cd.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 96/12/24 03:35:25 Modified: sys/scsi cd.c Log: Slightly re-order the sequence of commands issued, so try to send the START UNIT command before testing whether the device is ready. Maybe it should be done even earlier, i'm not 100 % sure. Again, CD changers will most likely benefit from it. While i was at it, also made the debugging case a little more verbose about why the cdopen() yielded an ENXIO. (Only in effect when SCSIDEBUG is specified.) Should eventually also go into 2.2. Revision Changes Path 1.75 +7 -10 src/sys/scsi/cd.c