Skip to content

Commit

Permalink
Ignore bus exception errors here.
Browse files Browse the repository at this point in the history
XXX I'm not sure exactly why this is necessary...
  • Loading branch information
mycroft authored and mycroft committed Sep 21, 2002
1 parent 69ea314 commit b1ce597
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sys/arch/next68k/stand/boot/scsi.c
@@ -1,4 +1,4 @@
/* $NetBSD: scsi.c,v 1.4 2002/07/11 16:03:19 christos Exp $ */
/* $NetBSD: scsi.c,v 1.5 2002/09/21 19:49:47 mycroft Exp $ */
/*
* Copyright (c) 1994, 1997 Rolf Grossmann
* All rights reserved.
Expand Down Expand Up @@ -443,7 +443,7 @@ dma_done(void)

if (resid != 0)
{
#if 0
#if 1
printf("WARNING: unexpected %d characters remain in dma\n",resid);
scsierror("dma transfer incomplete");
return -1;
Expand All @@ -452,8 +452,10 @@ dma_done(void)

if (state & DMACSR_BUSEXC)
{
#if 0
scsierror("dma failed");
return -1;
#endif
}

sc->dma_len -= resid;
Expand Down

0 comments on commit b1ce597

Please sign in to comment.