On Fri, Oct 26, 2012 at 03:01:33PM +0200, Gerd Hoffmann wrote:
> Kills the ugly "switch (device_id) { ... }" struct and makes it easier
> to figure what the differences between the uhci variants are.
>
> Need our own DeviceClass struct for that so we can allocate some space
> to store UHCIInfo.
>
Kills the ugly "switch (device_id) { ... }" struct and makes it easier
to figure what the differences between the uhci variants are.
Need our own DeviceClass struct for that so we can allocate some space
to store UHCIInfo.
Signed-off-by: Gerd Hoffmann
---
hw/usb/hcd-uhci.c | 32 ++