Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/next68k/next68k prototype rtc stuff used elsewhere
details: https://anonhg.NetBSD.org/src/rev/79bc82c032b6
branches: trunk
changeset: 486863:79bc82c032b6
user: deberg <deberg%NetBSD.org@localhost>
date: Mon May 29 22:08:47 2000 +0000
description:
prototype rtc stuff used elsewhere
diffstat:
sys/arch/next68k/next68k/rtc.c | 5 +++--
sys/arch/next68k/next68k/rtc.h | 37 +++++++++++++++++++++++++++++++++++++
2 files changed, 40 insertions(+), 2 deletions(-)
diffs (67 lines):
diff -r 552cf1b3bcc3 -r 79bc82c032b6 sys/arch/next68k/next68k/rtc.c
--- a/sys/arch/next68k/next68k/rtc.c Mon May 29 22:04:11 2000 +0000
+++ b/sys/arch/next68k/next68k/rtc.c Mon May 29 22:08:47 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtc.c,v 1.3 1999/01/31 07:02:34 dbj Exp $ */
+/* $NetBSD: rtc.c,v 1.4 2000/05/29 22:08:47 deberg Exp $ */
/*
* Copyright (c) 1998 Darrin Jewell
* Copyright (c) 1997 Rolf Grossmann
@@ -46,6 +46,8 @@
#include <dev/clock_subr.h>
+#include <next68k/next68k/rtc.h>
+
#include <next68k/dev/clockreg.h>
/* #define RTC_DEBUG */
@@ -54,7 +56,6 @@
u_char rtc_read __P((u_char));
void rtc_write __P((u_char, u_char));
void rtc_print __P((void));
-void poweroff __P((void));
time_t getsecs __P((void));
void setsecs __P((time_t));
diff -r 552cf1b3bcc3 -r 79bc82c032b6 sys/arch/next68k/next68k/rtc.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/next68k/next68k/rtc.h Mon May 29 22:08:47 2000 +0000
@@ -0,0 +1,37 @@
+/*-
+ * Copyright (c) 2000 The NetBSD Foundation, Inc.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to The NetBSD Foundation
+ * by Matt DeBergalis.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * This product includes software developed by the NetBSD
+ * Foundation, Inc. and its contributors.
+ * 4. Neither the name of The NetBSD Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+ * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+void poweroff __P((void));
Home |
Main Index |
Thread Index |
Old Index