Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ieee1394 + Fix typo.
details: https://anonhg.NetBSD.org/src/rev/8e9aa6322034
branches: trunk
changeset: 754376:8e9aa6322034
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Thu Apr 29 06:53:13 2010 +0000
description:
+ Fix typo.
+ Call aprint_error_dev() instead of aprint_error().
diffstat:
sys/dev/ieee1394/fwohci.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 49729813f71c -r 8e9aa6322034 sys/dev/ieee1394/fwohci.c
--- a/sys/dev/ieee1394/fwohci.c Thu Apr 29 06:51:26 2010 +0000
+++ b/sys/dev/ieee1394/fwohci.c Thu Apr 29 06:53:13 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fwohci.c,v 1.124 2010/04/19 07:00:58 kiyohara Exp $ */
+/* $NetBSD: fwohci.c,v 1.125 2010/04/29 06:53:13 kiyohara Exp $ */
/*-
* Copyright (c) 2003 Hidetoshi Shimokawa
@@ -37,7 +37,7 @@
*
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fwohci.c,v 1.124 2010/04/19 07:00:58 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fwohci.c,v 1.125 2010/04/29 06:53:13 kiyohara Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -2010,7 +2010,7 @@
/* allow from all nodes */
OWRITE(sc, OHCI_PREQHI, 0x7fffffff);
OWRITE(sc, OHCI_PREQLO, 0xffffffff);
- /* 0 to 4GB regison */
+ /* 0 to 4GB region */
OWRITE(sc, OHCI_PREQUPPER, 0x10000);
}
/* Set ATRetries register */
@@ -2027,7 +2027,7 @@
aprint_normal_dev(fc->dev, "node_id=0x%08x, gen=%d, ",
node_id, (plen >> 16) & 0xff);
if (!(node_id & OHCI_NODE_VALID)) {
- aprint_error("Bus reset failure\n");
+ aprint_error_dev(fc->dev, "Bus reset failure\n");
goto sidout;
}
Home |
Main Index |
Thread Index |
Old Index