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. > > Signed-off-by: Gerd Hoffmann <kra...@redhat.com> > --- > hw/usb/hcd-uhci.c | 32 ++++++++++++++++++-------------- > 1 files changed, 18 insertions(+), 14 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>