diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2001-07-17 23:34:15 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2001-07-17 23:34:15 +0000 |
commit | cb49c9335fa96970a47291ccebfd9b5479774b68 (patch) | |
tree | 8edf452bd855b210d948cbdcf2354f4ca6c69eac | |
parent | 2aebf4fb4271d82163bfd3a90250d62c6a5e7744 (diff) |
Remove one crash on PBG4. With this patch <PGUP> and <PGDN> are useable.
This code probably should check which keyboard type is present to figure
out operations for the special keys, just commented out for now.
Noticed in NetBSD mailing list.
-rw-r--r-- | sys/arch/powerpc/mac/akbd.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/powerpc/mac/akbd.c b/sys/arch/powerpc/mac/akbd.c index f1b243189b6..a86ae62a8d7 100644 --- a/sys/arch/powerpc/mac/akbd.c +++ b/sys/arch/powerpc/mac/akbd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: akbd.c,v 1.8 2001/07/09 03:30:19 mickey Exp $ */ +/* $OpenBSD: akbd.c,v 1.9 2001/07/17 23:34:14 drahn Exp $ */ /* $NetBSD: akbd.c,v 1.13 2001/01/25 14:08:55 tsubai Exp $ */ /* @@ -490,12 +490,15 @@ akbd_intr(event) wskbd_input(sc->sc_wskbddev, type, val); type = WSCONS_EVENT_KEY_UP; break; +#if 0 + /* not supported... */ case 245: pm_eject_pcmcia(0); break; case 244: pm_eject_pcmcia(1); break; +#endif } if (adb_polling) |