Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 1999 20:22:43 +0900
From:      Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To:        Mike Zanker <A.M.Zanker@open.ac.uk>
Cc:        current@FreeBSD.ORG, yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject:   Re: New console driver 
Message-ID:  <199901121122.UAA22953@zodiac.mech.utsunomiya-u.ac.jp>
In-Reply-To: Your message of "Tue, 12 Jan 1999 10:53:32 GMT." <4.1.19990112104534.05e83550@aire.open.ac.uk> 
References:  <4.1.19990112104534.05e83550@aire.open.ac.uk> 

next in thread | previous in thread | raw e-mail | index | archive | help
>I cvsup'd current last night (23:00 GMT, 11/01/99) and made the necessary
>changes to my kernel config (I'm using sc0). The only oddity that I've
>noticed following a make world/kernel is that stty erase is now undefined.
>Anyone know why?

Another bug spotted!

Please apply the following patch to /sys/dev/kbd/kbd.c and see if it
works.

Thank you.

Kazu

Index: kbd.c
===================================================================
RCS file: /src/CVS/src/sys/dev/kbd/kbd.c,v
retrieving revision 1.1
diff -u -r1.1 kbd.c
--- kbd.c	1999/01/09 02:44:50	1.1
+++ kbd.c	1999/01/12 11:22:14
@@ -851,7 +856,7 @@
 			splx(s);
 			return EINVAL;
 		}
-		bcopy(&kbd->kb_keymap[keyp->keynum], &keyp->key,
+		bcopy(&kbd->kb_keymap->key[keyp->keynum], &keyp->key,
 		      sizeof(keyp->key));
 		break;
 	case PIO_KEYMAPENT:	/* set keyboard translation table entry */
@@ -861,7 +866,7 @@
 			splx(s);
 			return EINVAL;
 		}
-		bcopy(&keyp->key, &kbd->kb_keymap[keyp->keynum],
+		bcopy(&keyp->key, &kbd->kb_keymap->key[keyp->keynum],
 		      sizeof(keyp->key));
 		break;
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901121122.UAA22953>