summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/isa/spkrreg.h
blob: ab9becf1fedd47b4c147c7811b05a416cdfddf94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*	$OpenBSD: spkrreg.h,v 1.1 1998/09/27 03:55:58 rahnds Exp $	*/
/*	$NetBSD: spkrreg.h,v 1.1 1996/04/12 01:54:46 cgd Exp $	*/

/*
 * PIT port addresses and speaker control values
 */

#define PITAUX_PORT	0x61	/* port of Programmable Peripheral Interface */
#define PIT_ENABLETMR2	0x01	/* Enable timer/counter 2 */
#define PIT_SPKRDATA	0x02	/* Direct to speaker */

#define PIT_SPKR	(PIT_ENABLETMR2|PIT_SPKRDATA)