xref: /netbsd-src/sys/arch/x68k/dev/opmvar.h (revision 95e1ffb15694e54f29f8baaa4232152b703c2a5a)
1*95e1ffb1Schristos /*	$NetBSD: opmvar.h,v 1.3 2005/12/11 12:19:37 christos Exp $	*/
269153277Sminoura 
369153277Sminoura /*
469153277Sminoura  * Copyright (c) 1995 Masanobu Saitoh, Takuya Harakawa.
569153277Sminoura  * All rights reserved.
669153277Sminoura  *
769153277Sminoura  * Redistribution and use in source and binary forms, with or without
869153277Sminoura  * modification, are permitted provided that the following conditions
969153277Sminoura  * are met:
1069153277Sminoura  * 1. Redistributions of source code must retain the above copyright
1169153277Sminoura  *    notice, this list of conditions and the following disclaimer.
1269153277Sminoura  * 2. Redistributions in binary form must reproduce the above copyright
1369153277Sminoura  *    notice, this list of conditions and the following disclaimer in the
1469153277Sminoura  *    documentation and/or other materials provided with the distribution.
1569153277Sminoura  * 3. All advertising materials mentioning features or use of this software
1669153277Sminoura  *    must display the following acknowledgement:
1769153277Sminoura  *	This product includes software developed by Masanobu Saitoh.
1869153277Sminoura  * 4. Neither the name of the University nor of the Laboratory may be used
1969153277Sminoura  *    to endorse or promote products derived from this software without
2069153277Sminoura  *    specific prior written permission.
2169153277Sminoura  *
2269153277Sminoura  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
2369153277Sminoura  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2469153277Sminoura  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2569153277Sminoura  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2669153277Sminoura  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2769153277Sminoura  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2869153277Sminoura  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2969153277Sminoura  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
3069153277Sminoura  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
3169153277Sminoura  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3269153277Sminoura  * SUCH DAMAGE.
3369153277Sminoura  */
3469153277Sminoura 
3569153277Sminoura #ifndef _OPMVAR_H_
3669153277Sminoura #define _OPMVAR_H_
3769153277Sminoura 
3869153277Sminoura #define	OPM1B_CT1MSK	(0x80)
3969153277Sminoura #define	OPM1B_CT2MSK	(0x40)
4069153277Sminoura 
4169153277Sminoura #define VS_CLK_8MHZ	(0x00)
4269153277Sminoura #define VS_CLK_4MHZ	(0x80)
4369153277Sminoura 
4469153277Sminoura #define	FDCSTBY	(0x00)
4569153277Sminoura #define	FDCRDY	(0x40)
4669153277Sminoura 
47d57ca0cfSchs void adpcm_chgclk(u_char);
48d57ca0cfSchs void fdc_force_ready(u_char);
4969153277Sminoura 
5069153277Sminoura #endif /* !_OPMREG_H_ */
51