OSDN Git Service

xhci: fix & cleanup msi.
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 30 Aug 2012 08:57:12 +0000 (10:57 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 11 Sep 2012 05:43:01 +0000 (07:43 +0200)
commitc5e9b02dee4a19f7b047fb75399012e1db759190
treed9ec73350891ad1c33cb8f3153b555a7084a4728
parent79b40459ba361ac0946bb54fee4a2389d1307c68
xhci: fix & cleanup msi.

Drop custom write_config function which isn't needed any more.
Make the msi property a bit property so it accepts 'on' & 'off'.
Enable MSI by default.

TODO: add compat property to disable on old machine types.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-xhci.c