summaryrefslogtreecommitdiffstats
path: root/sys/i386/scsi
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1996-04-23 04:22:41 +0000
committergibbs <gibbs@FreeBSD.org>1996-04-23 04:22:41 +0000
commit49e4a7fe26678ece9e2121489ea8736ad0e475c7 (patch)
treeddd5e562ad10c7b1af56b14288d46da63f620ae6 /sys/i386/scsi
parente665fee23a1e8faaacaceda94ce45295956dee10 (diff)
downloadFreeBSD-src-49e4a7fe26678ece9e2121489ea8736ad0e475c7.zip
FreeBSD-src-49e4a7fe26678ece9e2121489ea8736ad0e475c7.tar.gz
Fix a typo in the RESTART_SEQUENCER macro that could have caused
strange results. This bug has been in here for a loooong time. Many thanks to Pedro Salenbauch for finding this. Submitted by: pedrosal@nce.ufrj.br (Pedro Salenbauch)
Diffstat (limited to 'sys/i386/scsi')
-rw-r--r--sys/i386/scsi/aic7xxx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/scsi/aic7xxx.c b/sys/i386/scsi/aic7xxx.c
index 08f6158..b5b7270 100644
--- a/sys/i386/scsi/aic7xxx.c
+++ b/sys/i386/scsi/aic7xxx.c
@@ -31,7 +31,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: aic7xxx.c,v 1.61 1996/04/20 21:29:25 gibbs Exp $
+ * $Id: aic7xxx.c,v 1.62 1996/04/22 13:21:40 gibbs Exp $
*/
/*
* TODO:
@@ -198,7 +198,7 @@ static struct scsi_device ahc_dev =
do { \
outb( SEQCTL + ahc->baseport, SEQRESET|FASTMODE ); \
} while (inb(SEQADDR0 + ahc->baseport) != 0 && \
- inb(SEQADDR1 + ahc->baseport != 0)); \
+ inb(SEQADDR1 + ahc->baseport) != 0); \
\
UNPAUSE_SEQUENCER(ahc);
OpenPOWER on IntegriCloud