Home | History | Annotate | Line # | Download | only in dec
      1 /*	$NetBSD: mcclock_pad32.h,v 1.10 2000/02/11 02:36:16 simonb Exp $	*/
      2 
      3 /*
      4  * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
      5  * All rights reserved.
      6  *
      7  * Author: Chris G. Demetriou
      8  *
      9  * Permission to use, copy, modify and distribute this software and
     10  * its documentation is hereby granted, provided that both the copyright
     11  * notice and this permission notice appear in all copies of the
     12  * software, derivative works or modified versions, and any portions
     13  * thereof, and that both notices appear in supporting documentation.
     14  *
     15  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
     16  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
     17  * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
     18  *
     19  * Carnegie Mellon requests users of this software to return to
     20  *
     21  *  Software Distribution Coordinator  or  Software.Distribution (at) CS.CMU.EDU
     22  *  School of Computer Science
     23  *  Carnegie Mellon University
     24  *  Pittsburgh PA 15213-3890
     25  *
     26  * any improvements or extensions that they make and grant Carnegie the
     27  * rights to redistribute these changes.
     28  */
     29 
     30 
     31 /*
     32  * mc1461818 (or compatible) clock driver, for machines where
     33  * each byte-wide mcclock chip register is  mapped into the low-order
     34  * byte of a little-endian 32-bit word,
     35  *  DECstation 2100/3100
     36  *  DECstation 5100
     37  *  DECstation 5000/200 baseboard
     38  *  IOCTL asic machines (Alpha  3000 series, Decstation 5000 series)
     39  */
     40 struct mcclock_pad32_clockdatum {
     41 	u_char	datum;
     42 	char	pad[3];
     43 };
     44 
     45 /*
     46  * Device softc used by bus-specific front-end.
     47  */
     48 struct mcclock_pad32_softc {
     49 	struct mcclock_softc	sc_mcclock;
     50 	struct mcclock_pad32_clockdatum *sc_dp;
     51 };
     52 
     53 /* register read/write functions */
     54 extern const struct mcclock_busfns mcclock_pad32_busfns;
     55