summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1993-06-16 02:59:42 +0000
committermycroft <mycroft@NetBSD.org>1993-06-16 02:59:42 +0000
commit5a2b8d1abbd12aa6e8170f05b85eb0ebeb529010 (patch)
treed00aea36765b0ed72ad07673239742ab30e761f8 /sys/dev
parent94df11ad63b0e9dbe1bbbe0704f56af9a15b7bd1 (diff)
Fix typo.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/isa/isa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/isa/isa.c b/sys/dev/isa/isa.c
index b45864b6a43..926d85c7093 100644
--- a/sys/dev/isa/isa.c
+++ b/sys/dev/isa/isa.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)isa.c 7.2 (Berkeley) 5/13/91
- * $Id: isa.c,v 1.18 1993/06/16 02:57:17 mycroft Exp $
+ * $Id: isa.c,v 1.19 1993/06/16 02:59:42 mycroft Exp $
*/
/*
@@ -647,8 +647,8 @@ void sysbeep(int pitch, int period)
*/
disable_intr();
outb(TIMER_MODE, TIMER_SEL2|TIMER_16BIT|TIMER_SQWAVE);
- outb(TIMER_CNTR2, TIMER_DEV(pitch)%256);
- outb(TIMER_CNTR2, TIMER_DEV(pitch)/256);
+ outb(TIMER_CNTR2, TIMER_DIV(pitch)%256);
+ outb(TIMER_CNTR2, TIMER_DIV(pitch)/256);
outb(0x61, inb(0x61) | 3); /* enable counter 2 */
enable_intr();
}