[OpenBIOS] [PATCH] PPC: Rework assignment of keyboard devalias.

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Tue Dec 4 23:14:43 CET 2012


On 04/12/12 18:22, Blue Swirl wrote:

>> The committed version was actually much smaller than this, as the string
>> munging was required due to a separate bug for unit address during path
>> resolution.
>>
>> I'd be quite keen to do the keyboard alias assignment as a separate pass, as
>> I've used QEMU with multiple keyboards attached in some circumstances to
>> work around driver issues. While the current algorithm is to pick the first
>> keyboard device found, I'd like to think this could be controlled by
>> parameters passed into QEMU/NVRAM someday.
>
> Something like -prom-env 'keyboard=/pci/isa/pckdb' or -prom-env
> '/aliases/keyboard=/pci/isa/pckdb' should be easy to handle in
> OpenBIOS.

Yeah something like that to specify an override would be good. It's not 
on my immediate TODO list at the moment, although I'd be tempted to 
unify the current algorithm (which I committed to PPC only) across all 
architectures so that when the time comes, such a change becomes trivial.


ATB,

Mark.



More information about the OpenBIOS mailing list