1. 20 6月, 2013 1 次提交
  2. 07 1月, 2013 1 次提交
    • A
      usb/ehci: Clean up SysBus and PCI EHCI split · 5aa3ca9f
      Andreas Färber 提交于
      SysBus EHCI was introduced in a hurry before 1.3 Soft Freeze.
      To use QOM casts in place of DO_UPCAST() / FROM_SYSBUS(), we need an
      identifying type. Introduce generic abstract base types for PCI and
      SysBus EHCI to allow multiple types to access the shared fields.
      
      While at it, move the state structs being amended with macros to the
      header file so that they can be embedded.
      
      The VMSTATE_PCI_DEVICE() macro does not play nice with the QOM
      parent_obj naming convention, so defer that cleanup.
      Signed-off-by: NAndreas Färber <andreas.faerber@web.de>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      5aa3ca9f
  3. 19 12月, 2012 1 次提交
  4. 17 12月, 2012 1 次提交
  5. 29 11月, 2012 1 次提交
  6. 16 11月, 2012 1 次提交
    • G
      ehci: handle dma errors · 55903f1d
      Gerd Hoffmann 提交于
      Starting with commit 1c380f94 dma
      transfers can actually fail.  This patch makes ehci keep track
      of the busmaster bit in pci config space, by setting/clearing the
      dma_context pointer.  Attempts to dma without context will result
      in raising HSE (Host System Error) interrupt and stopping the host
      controller.
      
      This patch fixes WinXP not booting with a usb stick attached to ehci.
      Root cause is seabios activating ehci so you can boot from the stick,
      and WinXP clearing the busmaster bit before resetting the host
      controller, leading to ehci actually trying dma while it is disabled.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      55903f1d
  7. 09 11月, 2012 1 次提交
  8. 01 11月, 2012 4 次提交