acpi: add aml_sleep()
[qemu/ar7.git] / include / hw / compat.h
blob3d8d2a9244ae8ded7f6680f07cebb44cc9eb5fdc
1 #ifndef HW_COMPAT_H
2 #define HW_COMPAT_H
4 #define HW_COMPAT_2_5 \
5 /* empty */
7 #define HW_COMPAT_2_4 \
8 {\
9 .driver = "virtio-blk-device",\
10 .property = "scsi",\
11 .value = "true",\
12 },{\
13 .driver = "pvscsi",\
14 .property = "x-old-pci-configuration",\
15 .value = "on",\
16 },{\
17 .driver = "pvscsi",\
18 .property = "x-disable-pcie",\
19 .value = "on",\
20 },{\
21 .driver = "e1000",\
22 .property = "extra_mac_registers",\
23 .value = "off",\
24 },{\
25 .driver = "virtio-pci",\
26 .property = "x-disable-pcie",\
27 .value = "on",\
28 },{\
29 .driver = "virtio-pci",\
30 .property = "migrate-extra",\
31 .value = "off",\
34 #define HW_COMPAT_2_3 \
36 .driver = "virtio-blk-pci",\
37 .property = "any_layout",\
38 .value = "off",\
39 },{\
40 .driver = "virtio-balloon-pci",\
41 .property = "any_layout",\
42 .value = "off",\
43 },{\
44 .driver = "virtio-serial-pci",\
45 .property = "any_layout",\
46 .value = "off",\
47 },{\
48 .driver = "virtio-9p-pci",\
49 .property = "any_layout",\
50 .value = "off",\
51 },{\
52 .driver = "virtio-rng-pci",\
53 .property = "any_layout",\
54 .value = "off",\
57 #define HW_COMPAT_2_2 \
58 /* empty */
60 #define HW_COMPAT_2_1 \
62 .driver = "intel-hda",\
63 .property = "old_msi_addr",\
64 .value = "on",\
65 },{\
66 .driver = "VGA",\
67 .property = "qemu-extended-regs",\
68 .value = "off",\
69 },{\
70 .driver = "secondary-vga",\
71 .property = "qemu-extended-regs",\
72 .value = "off",\
73 },{\
74 .driver = "virtio-scsi-pci",\
75 .property = "any_layout",\
76 .value = "off",\
77 },{\
78 .driver = "usb-mouse",\
79 .property = "usb_version",\
80 .value = stringify(1),\
81 },{\
82 .driver = "usb-kbd",\
83 .property = "usb_version",\
84 .value = stringify(1),\
85 },{\
86 .driver = "virtio-pci",\
87 .property = "virtio-pci-bus-master-bug-migration",\
88 .value = "on",\
91 #endif /* HW_COMPAT_H */