1. 09 7月, 2009 3 次提交
    • G
      qdev: remove DeviceType · 042f84d0
      Gerd Hoffmann 提交于
      The only purpose DeviceType serves is creating a linked list of
      DeviceInfo structs.  This removes DeviceType and add a next field to
      DeviceInfo instead, so the DeviceInfo structs can be changed that way.
      Elimitates a pointless extra level of indirection.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      042f84d0
    • G
      qdev: replace bus_type enum with bus_info struct. · 10c4c98a
      Gerd Hoffmann 提交于
      BusInfo is filled with name and size (pretty much like I did for
      DeviceInfo as well).  There is also a function pointer to print
      bus-specific device information to the monitor.  sysbus is hooked
      up there, I've also added a print function for PCI.
      
      Device creation is slightly modified as well:  The device type search
      loop now also checks the bus type while scanning the list instead of
      complaining thereafter in case of a mismatch.  This effectively gives
      each bus a private namespace for device names.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NPaul Brook <paul@codesourcery.com>
      10c4c98a
    • G
      qdev: update pci device registration. · 0aab0d3a
      Gerd Hoffmann 提交于
      Makes pci_qdev_register take a PCIDeviceInfo struct instead of a bunch
      of parameters.  Also adds config_read and config_write callbacks to
      PCIDeviceInfo, so drivers needing these can be converted to the qdev
      device API too.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      0aab0d3a
  2. 08 7月, 2009 2 次提交
  3. 06 7月, 2009 2 次提交
  4. 05 7月, 2009 1 次提交
  5. 04 7月, 2009 3 次提交
  6. 03 7月, 2009 3 次提交
  7. 02 7月, 2009 6 次提交
  8. 30 6月, 2009 20 次提交