Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hpcmips/tx make this file compilable without TX39IR...
details: https://anonhg.NetBSD.org/src/rev/12f4b6fb4fec
branches: trunk
changeset: 513490:12f4b6fb4fec
user: shin <shin%NetBSD.org@localhost>
date: Thu Aug 02 04:30:01 2001 +0000
description:
make this file compilable without TX39IRDEBUG.
diffstat:
sys/arch/hpcmips/tx/tx39ir.c | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (43 lines):
diff -r 95a1d334240b -r 12f4b6fb4fec sys/arch/hpcmips/tx/tx39ir.c
--- a/sys/arch/hpcmips/tx/tx39ir.c Thu Aug 02 03:41:42 2001 +0000
+++ b/sys/arch/hpcmips/tx/tx39ir.c Thu Aug 02 04:30:01 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tx39ir.c,v 1.2 2001/06/14 11:09:56 uch Exp $ */
+/* $NetBSD: tx39ir.c,v 1.3 2001/08/02 04:30:01 shin Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -72,8 +72,12 @@
tx_chipset_tag_t sc_tc;
};
+#ifdef TX39IRDEBUG
static void tx39ir_dump(struct tx39ir_softc *);
+#endif
+#if not_required_yet
static int tx39ir_intr(void *);
+#endif
struct cfattach tx39ir_ca = {
sizeof(struct tx39ir_softc), tx39ir_match, tx39ir_attach
@@ -125,6 +129,7 @@
#endif
}
+#ifdef TX39IRDEBUG
void
tx39ir_dump(struct tx39ir_softc *sc)
{
@@ -143,9 +148,12 @@
#undef ISSETPRINT
printf("baudval %d\n", TX39_IRCTRL1_BAUDVAL(reg));
}
+#endif
+#if not_required_yet
int
tx39ir_intr(void *arg)
{
return (0);
}
+#endif
Home |
Main Index |
Thread Index |
Old Index