i2c: Rename i2c_bus to I2CBus
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>Signed-off-by: Andreas Färber <afaerber@suse.de>
hw: cannot_instantiate_with_device_add_yet due to pointer props
Pointer properties can be set only by code, not by device_add. Adevice with a pointer property can work with device_add only when theproperty may remain null.
This is the case for property "interrupt_vector" of device...
ich9: Document why cannot_instantiate_with_device_add_yet
An ICH9 southbridge contains several PCI devices, some of them withmultiple functions. We model each function as a separate qdev. Twoof them need some special wiring set up in pc_q35_init() to work: the...
qdev: Replace no_user by cannot_instantiate_with_device_add_yet
In an ideal world, machines can be built by wiring devices togetherwith configuration, not code. Unfortunately, that's not the world welive in right now. We still have quite a few devices that need to be...
exynos4210_i2c: QOM cast cleanup
Fix one ->qdev access and rename parent field.
Signed-off-by: Andreas Färber <afaerber@suse.de>
bitbang_i2c: QOM cast cleanup
omap_i2c: QOM cast cleanup
versatile_i2c: QOM cast cleanup
devices: Associate devices to their logical category
The category will be used to sort the devices displayed inthe command line help.
Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>Message-id: 1375107465-25767-4-git-send-email-marcel.a@redhat.com...
hw: Avoid use of QOM type name macros in VMStateDescriptions
The name field in a VMStateDescription is part of the migration stateversioning, so changing it will break migration. It's therefore abad idea to use a QOM typename macro to initialize it, because in...
Extend support of SMBUS HST_STS register.
Previous realization doesn't consider flags in the status register.Add DS and INTR bits of HST_STS register set after transaction execution.Update bits resetting in HST_STS register. Update error processing:...
hw/i*: pass owner to memory_region_init* functions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
memory: add owner argument to initialization functions
qdev: Drop FROM_QBUS() macro
Use QOM cast macros I2C_BUS(), SSI_BUS(), PCI_BUS() instead.
hw: move private headers to hw/ subdirectories.
Many headers are used only in a single directory. These can bekept in hw/.
hw: move I2C controllers to hw/i2c/, configure via default-configs/
hw: move target-independent files to subdirectories
This patch tackles all files that are compiled once, movingthem to subdirectories of hw/.
hw: make subdirectories for devices
Prepare the new directory structure.