From cb49c9335fa96970a47291ccebfd9b5479774b68 Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Tue, 17 Jul 2001 23:34:15 +0000 Subject: Remove one crash on PBG4. With this patch and 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. --- sys/arch/powerpc/mac/akbd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/arch/powerpc') 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) -- cgit v1.2.3