From owner-cvs-sys Mon May 1 02:49:58 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id CAA19830 for cvs-sys-outgoing; Mon, 1 May 1995 02:49:58 -0700 Received: (from gibbs@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id CAA19820 ; Mon, 1 May 1995 02:49:46 -0700 Date: Mon, 1 May 1995 02:49:46 -0700 From: "Justin T. Gibbs" Message-Id: <199505010949.CAA19820@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/scsi aic7xxx.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk gibbs 95/05/01 02:49:46 Modified: sys/i386/scsi aic7xxx.c Log: Set the return value (outb'd to the sequencer) for non zero status interrupts to zero to start with. This is the value we return in most cases. The sense code then outbs the apropriate value to cause sense retrieval. The return value was uninitialized before this change (something that was an okay thing with the old sequencer code, but not with the semantics of the new). This problem caused us to always retrieve sense upon recieving a non zero status byte. This is exactly what was happening for the "target busy" status returned by exabyte tape drives when they rewind or power on with a tape installed. The request sense proved fatal. This should fix the tape problems.