summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/isa/spkrreg.h
blob: 89a89edd0f5408ff1cbc1c6c002a8d121ee4136d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*	$OpenBSD: spkrreg.h,v 1.2 1996/07/29 22:59:55 niklas 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)