diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-18 10:39:24 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-18 10:39:24 +0000 |
commit | c9328c850e70436131e06a34f73c14cc230c18f9 (patch) | |
tree | 564c8be172778428383f3dd51aae889a6a073f15 /sys/arch/pica/isa/spkrreg.h | |
parent | d6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (diff) |
initial import of pica stuff (a few theo modifications already in here)
Diffstat (limited to 'sys/arch/pica/isa/spkrreg.h')
-rw-r--r-- | sys/arch/pica/isa/spkrreg.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/arch/pica/isa/spkrreg.h b/sys/arch/pica/isa/spkrreg.h new file mode 100644 index 00000000000..af1df50e2ad --- /dev/null +++ b/sys/arch/pica/isa/spkrreg.h @@ -0,0 +1,11 @@ +/* $NetBSD: spkrreg.h,v 1.2 1994/10/27 04:18:16 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) |