[OpenBIOS] [PATCH v2] Add USB OHCI + HID driver

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Wed Jun 25 23:55:51 CEST 2014


On 25/06/14 22:50, Alexander Graf wrote:

> On 01.06.14 23:55, BALATON Zoltan wrote:
>> This driver is ported from CoreBoot's libpayload and fixed to work on
>> big endian CPUs (tested on PPC with QEMU). It is enough to support a
>> USB keyboard on an Apple Keylargo OHCI compliant USB host and makes
>> OpenBIOS usable on qemu-system-ppc64 with mac99 machine type as well
>> as allows to emulate PowerMac3,1 better.
>>
>> Signed-off-by: BALATON Zoltan <balaton at eik.bme.hu>
>> ---
>>
>>   v2: improve init and teardown by moving pci configuration to the driver
>>       and giving up using the controller on quiesce interface call also
>>       resetting it to avoid runaway DMA until the OS driver takes over
>
>
> This is a pretty excessive patch, but USB support for keyboard has long
> been overdue. I have the same comment on enabling bus mastering that I
> did on the other patch, but that can be a follow-up. Other than that,
>
> Acked-by: Alexander Graf <agraf at suse.de>
>
> Mark, do you want to apply it?

The patch looks okay to me; the only thing I'm waiting on is definite 
confirmation from Stefan that the libpayload licence is compatible with 
OpenBIOS. Let me try and chase this up again.


ATB,

Mark.




More information about the OpenBIOS mailing list