xref: /netbsd-src/sys/arch/hpcmips/vr/cmuvar.h (revision ce099b40997c43048fb78bd578195f81d2456523)
1*ce099b40Smartin /*	$NetBSD: cmuvar.h,v 1.5 2008/04/28 20:23:22 martin Exp $	*/
2db2b0adeStakemura 
3961880b5Such /*-
46929f9f4Stakemura  * Copyright (c) 1999, 2002 The NetBSD Foundation, Inc.
5db2b0adeStakemura  * All rights reserved.
6db2b0adeStakemura  *
7961880b5Such  * This code is derived from software contributed to The NetBSD Foundation
8961880b5Such  * by UCHIYAMA Yasushi.
9961880b5Such  *
10db2b0adeStakemura  * Redistribution and use in source and binary forms, with or without
11db2b0adeStakemura  * modification, are permitted provided that the following conditions
12db2b0adeStakemura  * are met:
13db2b0adeStakemura  * 1. Redistributions of source code must retain the above copyright
14db2b0adeStakemura  *    notice, this list of conditions and the following disclaimer.
15961880b5Such  * 2. Redistributions in binary form must reproduce the above copyright
16961880b5Such  *    notice, this list of conditions and the following disclaimer in the
17961880b5Such  *    documentation and/or other materials provided with the distribution.
18db2b0adeStakemura  *
19961880b5Such  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20961880b5Such  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21961880b5Such  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22961880b5Such  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
23961880b5Such  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24961880b5Such  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25961880b5Such  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26961880b5Such  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27961880b5Such  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28961880b5Such  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29961880b5Such  * POSSIBILITY OF SUCH DAMAGE.
30db2b0adeStakemura  */
31db2b0adeStakemura 
32a0584b29Stakemura struct vrcmu_chipset_tag;
33a0584b29Stakemura typedef struct vrcmu_chipset_tag *vrcmu_chipset_tag_t;
34a0584b29Stakemura struct vrcmu_chipset_tag {
35a0584b29Stakemura 	void *cc_sc;
36a0584b29Stakemura 	int (*cc_clock)(vrcmu_chipset_tag_t, u_int16_t, int);
37db2b0adeStakemura };
38