diff options
| author | drochner <drochner@NetBSD.org> | 1998-08-07 10:28:36 +0000 |
|---|---|---|
| committer | drochner <drochner@NetBSD.org> | 1998-08-07 10:28:36 +0000 |
| commit | 49637cda8d4e55e5a14652dad2fddcbf11bdce2b (patch) | |
| tree | b5f54a849f90679f84ba5f2ecee7a9e3ce2138a5 /sys/dev/pckbc | |
| parent | e8564df3b93414aefd3ddc4359a268c8f5b1dd68 (diff) | |
use an md keyboard beep replacement function on alpha too
Diffstat (limited to 'sys/dev/pckbc')
| -rw-r--r-- | sys/dev/pckbc/pckbd.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/pckbc/pckbd.c b/sys/dev/pckbc/pckbd.c index e317b2ee635..eb297667fef 100644 --- a/sys/dev/pckbc/pckbd.c +++ b/sys/dev/pckbc/pckbd.c @@ -1,4 +1,4 @@ -/* $NetBSD: pckbd.c,v 1.10 1998/08/02 14:21:02 drochner Exp $ */ +/* $NetBSD: pckbd.c,v 1.11 1998/08/07 10:28:36 drochner Exp $ */ /*- * Copyright (c) 1993, 1994, 1995 Charles Hannum. All rights reserved. @@ -62,7 +62,7 @@ #include <dev/wscons/wsksymvar.h> #include <dev/wscons/wskbdmap_mfii.h> -#ifdef __i386__ +#if defined(__i386__) || defined(__alpha__) #include <sys/kernel.h> /* XXX for hz */ #endif @@ -515,6 +515,10 @@ pckbd_ioctl(v, cmd, data, flag, p) sysbeep(d->pitch, d->period * hz / 1000); /* comes in as ms, goes out as ticks; volume ignored */ #endif +#ifdef __alpha__ + isabeep(d->pitch, d->period * hz / 1000); + /* comes in as ms, goes out as ticks; volume ignored */ +#endif #undef d return (0); #ifdef WSDISPLAY_COMPAT_RAWKBD |
