summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/osiop.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/sys/dev/ic/osiop.c b/sys/dev/ic/osiop.c
index 9e78cf9210e..b35e6a04935 100644
--- a/sys/dev/ic/osiop.c
+++ b/sys/dev/ic/osiop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: osiop.c,v 1.20 2004/03/15 13:03:44 miod Exp $ */
+/* $OpenBSD: osiop.c,v 1.21 2004/03/31 20:37:52 mickey Exp $ */
/* $NetBSD: osiop.c,v 1.9 2002/04/05 18:27:54 bouyer Exp $ */
/*
@@ -408,7 +408,7 @@ osiop_scsicmd(xs)
splx(s);
return (TRY_AGAIN_LATER);
}
-
+
acb->flags = 0;
acb->status = ACB_S_READY;
acb->xs = xs;
@@ -456,7 +456,7 @@ osiop_scsicmd(xs)
if ((acb->xsflags & SCSI_POLL) || (sc->sc_flags & OSIOP_NODMA))
osiop_poll(sc, acb);
- else
+ else
/* start expire timer */
timeout_add(&xs->stimeout, (xs->timeout/1000) * hz);
@@ -603,7 +603,7 @@ osiop_scsidone(acb, status)
xs = acb->xs;
sc = acb->sc;
periph = xs->sc_link;
-
+
/*
* Record if this is the completion of an auto sense
* scsi command, and then reset the flag so we don't loop
@@ -1156,7 +1156,6 @@ osiop_checkintr(sc, istat, dstat, sstat0, status)
#endif
}
-
if (dstat & OSIOP_DSTAT_SIR && intcode == A_ok) {
/* Normal completion status, or check condition */
struct osiop_tinfo *ti;
@@ -1869,10 +1868,10 @@ osiop_update_xfer_mode(sc, target)
/* Transfer period = 50 ns */
printf("20");
break;
- default:
+ default:
/* Transfer period = ti->period*4 ns */
printf("%d", 1000/(ti->period*4));
- break;
+ break;
}
printf(" MHz %d REQ/ACK offset", ti->offset);
} else