qemu-e2k/hw/ppc
Marcel Apfelbaum c760dbb9dc hw/ppc: modified the condition for usb controllers to be created for some ppc machines
Some ppc machines create a default usb controller based on a 'machine condition'.
Until now the logic was: create the usb controller if:
 -  the usb option was supplied in cli and value is true or
 -  the usb option was absent and both set_defaults and the machine
    condition were true.

Modified the logic to:
Create the usb controller if:
 - the machine condition is true and defaults are enabled or
 - the usb option is supplied and true.

The main for this is to simplify the usb_enabled method.

Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
2015-01-07 16:16:28 +01:00
..
e500-ccsr.h
e500.c PPC: e500: Fix GPIO controller interrupt number 2015-01-07 16:16:28 +01:00
e500.h PPC: e500 pci host: Add support for ATMUs 2015-01-07 16:16:24 +01:00
e500plat.c PPC: e500 pci host: Add support for ATMUs 2015-01-07 16:16:24 +01:00
mac_newworld.c hw/ppc: modified the condition for usb controllers to be created for some ppc machines 2015-01-07 16:16:28 +01:00
mac_oldworld.c fw_cfg: move boards to fw_cfg_init_io() / fw_cfg_init_mem() 2014-12-22 23:39:15 +00:00
mac.h
Makefile.objs target-ppc: virtex-ml507 machine type should depend on CONFIG_XILINX 2014-11-04 23:26:11 +01:00
mpc8544_guts.c
mpc8544ds.c PPC: e500 pci host: Add support for ATMUs 2015-01-07 16:16:24 +01:00
ppc4xx_devs.c
ppc4xx_pci.c hw/pci/ppc4xx_pci.c: Remove unused pci4xx_cfgaddr_read/write/ops 2014-11-04 23:26:12 +01:00
ppc405_boards.c
ppc405_uc.c
ppc405.h
ppc440_bamboo.c hw/core/loader: implement address translation in uimage loader 2014-11-03 00:59:10 +03:00
ppc_booke.c
ppc.c ppc: do not use get_clock_realtime() 2015-01-07 16:16:26 +01:00
ppce500_spin.c
prep.c
spapr_events.c
spapr_hcall.c
spapr_iommu.c PPC: Fix crash on spapr_tce_table_finalize() 2015-01-07 16:16:26 +01:00
spapr_pci_vfio.c vfio: move hw/misc/vfio.c to hw/vfio/pci.c Move vfio.h into include/hw/vfio 2014-12-19 15:24:06 -07:00
spapr_pci.c hw/ppc/spapr_pci.c: Avoid functions not in glib 2.12 (g_hash_table_iter_*) 2014-11-04 23:26:13 +01:00
spapr_rtas.c
spapr_vio.c
spapr.c hw/ppc: modified the condition for usb controllers to be created for some ppc machines 2015-01-07 16:16:28 +01:00
virtex_ml507.c