uhci: stick irq routing info into UHCIInfo too.
commit8f3f90b0c7d095ba11b1ad558a0b7c2eeb36c8dc
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 26 Oct 2012 12:56:19 +0000 (26 14:56 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 1 Nov 2012 14:17:57 +0000 (1 15:17 +0100)
treeb333c9298adaa6ccfff78562a7f081198ee49627
parent2c2e852509de3fecf606e8f2dcbca0ebd1eddc10
uhci: stick irq routing info into UHCIInfo too.

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 <kraxel@redhat.com>
hw/usb/hcd-uhci.c