11.11She/* $NetBSD: clockvar.h,v 1.11 2009/05/23 19:11:19 he 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.11She#include <sys/device.h>
311.11She
321.1Scgd/*
331.5Swiz * Definitions for CPU-independent clock handling for the alpha and pmax.
341.1Scgd */
351.1Scgd
361.1Scgd/*
371.2Scgd * clockfns structure:
381.1Scgd *
391.2Scgd * function switch used by chip-independent clock code, to access
401.2Scgd * chip-dependent routines.
411.1Scgd */
421.2Scgdstruct clockfns {
431.10Scegger	void	(*cf_init)(device_t);
441.2Scgd};
451.1Scgd
461.10Sceggervoid clockattach(device_t, const struct clockfns *);
47