clockvar.h revision 1.10
11.10Scegger/* $NetBSD: clockvar.h,v 1.10 2009/05/12 14:18:16 cegger Exp $ */
21.1Scgd
31.1Scgd/*
41.1Scgd * Copyright (c) 1994, 1995 Carnegie-Mellon University.
51.1Scgd * All rights reserved.
61.1Scgd *
71.1Scgd * Author: Chris G. Demetriou
81.7Sperry *
91.1Scgd * Permission to use, copy, modify and distribute this software and
101.1Scgd * its documentation is hereby granted, provided that both the copyright
111.1Scgd * notice and this permission notice appear in all copies of the
121.1Scgd * software, derivative works or modified versions, and any portions
131.1Scgd * thereof, and that both notices appear in supporting documentation.
141.7Sperry *
151.7Sperry * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
161.7Sperry * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
171.1Scgd * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
181.7Sperry *
191.1Scgd * Carnegie Mellon requests users of this software to return to
201.1Scgd *
211.1Scgd *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
221.1Scgd *  School of Computer Science
231.1Scgd *  Carnegie Mellon University
241.1Scgd *  Pittsburgh PA 15213-3890
251.1Scgd *
261.1Scgd * any improvements or extensions that they make and grant Carnegie the
271.1Scgd * rights to redistribute these changes.
281.1Scgd */
291.1Scgd
301.1Scgd/*
311.5Swiz * Definitions for CPU-independent clock handling for the alpha and pmax.
321.1Scgd */
331.1Scgd
341.1Scgd/*
351.2Scgd * clockfns structure:
361.1Scgd *
371.2Scgd * function switch used by chip-independent clock code, to access
381.2Scgd * chip-dependent routines.
391.1Scgd */
401.2Scgdstruct clockfns {
411.10Scegger	void	(*cf_init)(device_t);
421.2Scgd};
431.1Scgd
441.10Sceggervoid clockattach(device_t, const struct clockfns *);
45