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