j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: blueswirl Date: Sun Feb 7 21:25:32 2010 New Revision: 676 URL: http://tracker.coreboot.org/trac/openbios/changeset/676
Log: Add "reg" property to kb_ps2, fix device_type
Signed-off-by: Blue Swirl blauwirbel@gmail.com
Modified: trunk/openbios-devel/drivers/pc_kbd.c
Modified: trunk/openbios-devel/drivers/pc_kbd.c ============================================================================== --- trunk/openbios-devel/drivers/pc_kbd.c Sun Feb 7 21:25:30 2010 (r675) +++ trunk/openbios-devel/drivers/pc_kbd.c Sun Feb 7 21:25:32 2010 (r676) @@ -201,7 +201,7 @@ push_str(dev_name); fword("device-name");
- push_str("keyboard"); + push_str("serial"); fword("device-type");
PUSH(-1); @@ -209,6 +209,11 @@ push_str("keyboard"); fword("property");
+ PUSH(0); + fword("encode-int"); + push_str("reg"); + fword("property"); + chosen = find_dev("/chosen"); push_str(nodebuff); fword("open-dev");