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

Alexander Graf agraf at suse.de
Wed Jun 25 23:50:00 CEST 2014


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?


Alex




More information about the OpenBIOS mailing list