1*5448df2eSscw /* $NetBSD: rtc.h,v 1.1 2002/12/09 12:16:16 scw Exp $ */ 2*5448df2eSscw 3*5448df2eSscw /* 4*5448df2eSscw * Copyright (c) 1994 Mark Brinicombe. 5*5448df2eSscw * Copyright (c) 1994 Brini. 6*5448df2eSscw * All rights reserved. 7*5448df2eSscw * 8*5448df2eSscw * This code is derived from software written for Brini by Mark Brinicombe 9*5448df2eSscw * 10*5448df2eSscw * Redistribution and use in source and binary forms, with or without 11*5448df2eSscw * modification, are permitted provided that the following conditions 12*5448df2eSscw * are met: 13*5448df2eSscw * 1. Redistributions of source code must retain the above copyright 14*5448df2eSscw * notice, this list of conditions and the following disclaimer. 15*5448df2eSscw * 2. Redistributions in binary form must reproduce the above copyright 16*5448df2eSscw * notice, this list of conditions and the following disclaimer in the 17*5448df2eSscw * documentation and/or other materials provided with the distribution. 18*5448df2eSscw * 3. All advertising materials mentioning features or use of this software 19*5448df2eSscw * must display the following acknowledgement: 20*5448df2eSscw * This product includes software developed by Brini. 21*5448df2eSscw * 4. The name of the company nor the name of the author may be used to 22*5448df2eSscw * endorse or promote products derived from this software without specific 23*5448df2eSscw * prior written permission. 24*5448df2eSscw * 25*5448df2eSscw * THIS SOFTWARE IS PROVIDED BY BRINI ``AS IS'' AND ANY EXPRESS OR IMPLIED 26*5448df2eSscw * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 27*5448df2eSscw * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 28*5448df2eSscw * IN NO EVENT SHALL BRINI OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 29*5448df2eSscw * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 30*5448df2eSscw * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 31*5448df2eSscw * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32*5448df2eSscw * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33*5448df2eSscw * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34*5448df2eSscw * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35*5448df2eSscw * SUCH DAMAGE. 36*5448df2eSscw * 37*5448df2eSscw * RiscBSD kernel project 38*5448df2eSscw * 39*5448df2eSscw * rtc.h 40*5448df2eSscw * 41*5448df2eSscw * Header file for RTC / CMOS stuff 42*5448df2eSscw * 43*5448df2eSscw * Created : 13/10/94 44*5448df2eSscw * Updated : 15/07/2000 45*5448df2eSscw * 46*5448df2eSscw * Based of kate/display/iiccontrol.c 47*5448df2eSscw */ 48*5448df2eSscw 49*5448df2eSscw typedef struct { 50*5448df2eSscw u_char rtc_micro; 51*5448df2eSscw u_char rtc_centi; 52*5448df2eSscw u_char rtc_sec; 53*5448df2eSscw u_char rtc_min; 54*5448df2eSscw u_char rtc_hour; 55*5448df2eSscw u_char rtc_day; 56*5448df2eSscw u_char rtc_mon; 57*5448df2eSscw u_char rtc_year; 58*5448df2eSscw u_char rtc_cen; 59*5448df2eSscw } rtc_t; 60*5448df2eSscw 61*5448df2eSscw /* End of rtc.h */ 62