Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hpcsh/dev/hd64461 Style.
details: https://anonhg.NetBSD.org/src/rev/78c85005d47d
branches: trunk
changeset: 754789:78c85005d47d
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Wed May 12 18:22:36 2010 +0000
description:
Style.
diffstat:
sys/arch/hpcsh/dev/hd64461/hd64461uart.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (52 lines):
diff -r 7eaab52b2dc5 -r 78c85005d47d sys/arch/hpcsh/dev/hd64461/hd64461uart.c
--- a/sys/arch/hpcsh/dev/hd64461/hd64461uart.c Wed May 12 18:16:53 2010 +0000
+++ b/sys/arch/hpcsh/dev/hd64461/hd64461uart.c Wed May 12 18:22:36 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hd64461uart.c,v 1.24 2010/05/12 18:16:53 kiyohara Exp $ */
+/* $NetBSD: hd64461uart.c,v 1.25 2010/05/12 18:22:36 kiyohara Exp $ */
/*-
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hd64461uart.c,v 1.24 2010/05/12 18:16:53 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hd64461uart.c,v 1.25 2010/05/12 18:22:36 kiyohara Exp $");
#include "opt_kgdb.h"
@@ -124,20 +124,20 @@
{
if (strcmp(kgdb_devname, "hd64461uart") != 0)
- return (1);
+ return 1;
if (hd64461uart_chip.console)
- return (1); /* can't share with console */
+ return 1; /* can't share with console */
hd64461uart_init();
if (com_kgdb_attach(hd64461uart_chip.io_tag, 0x0, kgdb_rate,
COM_FREQ, COM_TYPE_NORMAL, CONMODE) != 0) {
printf("%s: KGDB console open failed.\n", __func__);
- return (1);
+ return 1;
}
- return (0);
+ return 0;
}
#endif /* KGDB */
@@ -146,7 +146,7 @@
{
struct hd64461_attach_args *ha = aux;
- return (ha->ha_module_id == HD64461_MODULE_UART);
+ return ha->ha_module_id == HD64461_MODULE_UART;
}
STATIC void
Home |
Main Index |
Thread Index |
Old Index