Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Match shutdown msg with that of cac.c.
details: https://anonhg.NetBSD.org/src/rev/47e4ee4a21d1
branches: trunk
changeset: 483718:47e4ee4a21d1
user: ad <ad%NetBSD.org@localhost>
date: Thu Mar 16 15:13:05 2000 +0000
description:
Match shutdown msg with that of cac.c.
diffstat:
sys/dev/ic/dpt.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 3ef3ab71922e -r 47e4ee4a21d1 sys/dev/ic/dpt.c
--- a/sys/dev/ic/dpt.c Thu Mar 16 15:09:59 2000 +0000
+++ b/sys/dev/ic/dpt.c Thu Mar 16 15:13:05 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dpt.c,v 1.20 2000/02/29 11:14:46 ad Exp $ */
+/* $NetBSD: dpt.c,v 1.21 2000/03/16 15:13:05 ad Exp $ */
/*-
* Copyright (c) 1997, 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -55,7 +55,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dpt.c,v 1.20 2000/02/29 11:14:46 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dpt.c,v 1.21 2000/03/16 15:13:05 ad Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -348,7 +348,7 @@
{
struct dpt_softc *sc;
- printf("shutting down DPT HBAs...");
+ printf("shutting down dpt devices...");
for (sc = TAILQ_FIRST(&dpt_hba); sc != NULL;
sc = TAILQ_NEXT(sc, sc_chain))
@@ -444,7 +444,7 @@
for (i = ccb->ccb_timeout * 20; i; i--) {
if ((dpt_inb(sc, HA_AUX_STATUS) & HA_AUX_INTR) != 0) {
dpt_intr(sc);
- if ((ccb->ccb_flg & CCB_INTR) != 0)
+ if ((ccb->ccb_flg & CCB_INTR) != 0)
return (0);
}
DELAY(50);
@@ -613,7 +613,7 @@
if (error) {
printf("%s: can't create ccb dmamap (%d)\n",
- sc->sc_dv.dv_xname, error);
+ sc->sc_dv.dv_xname, error);
return (error);
}
Home |
Main Index |
Thread Index |
Old Index