[OpenBIOS] [commit] r1073 - trunk/openbios-devel/arch/ppc/qemu

Tarl Neustaedter tarl-b2 at tarl.net
Sat Nov 24 20:13:25 CET 2012


On 2012-Nov-24 14:09 , Mark Cave-Ayland wrote:
>> .
>
> Hmmm. How about we do something along the lines of: scan all devices 
> in /aliases for one with a device_type of keyboard, and assign the 
> keyboard alias to the first one we find? The main reason for doing 
> this is that I'd like to keep the alias assignment outside of the 
> hardware driver code.

Why scan the device in /aliases, rather than the entire device tree? On 
real hardware, your keyboard may not already be represented in /aliases.




More information about the OpenBIOS mailing list