diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2008-03-11 17:11:52 -0300 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-03-16 14:02:49 +0200 |
commit | c1f725f05e2101d055e2cc9df2b4e53e84ad70b6 (patch) | |
tree | f6a643f3548b4aef367470115827e6263c5692b3 /bios | |
parent | 55461b26bfee274478d92fd45cd8335dfabc392f (diff) |
kvm: bios: add devices to represent PCI slots with _EJ0 method
Presence of _EJ0 method indicates that slots are hot-pluggable.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'bios')
-rwxr-xr-x | bios/acpi-dsdt.dsl | 155 |
1 files changed, 155 insertions, 0 deletions
diff --git a/bios/acpi-dsdt.dsl b/bios/acpi-dsdt.dsl index d938462a..822a9585 100755 --- a/bios/acpi-dsdt.dsl +++ b/bios/acpi-dsdt.dsl @@ -407,6 +407,161 @@ DefinitionBlock ( Package() {0x001fffff, 3, LNKB, 0}, }) + Device (S1) { // Slot 1 + Name (_ADR, 0x00010000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S2) { // Slot 2 + Name (_ADR, 0x00020000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S3) { // Slot 3 + Name (_ADR, 0x00030000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S4) { // Slot 4 + Name (_ADR, 0x00040000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S5) { // Slot 5 + Name (_ADR, 0x00050000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S6) { // Slot 6 + Name (_ADR, 0x00060000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S7) { // Slot 7 + Name (_ADR, 0x00070000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S8) { // Slot 8 + Name (_ADR, 0x00080000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S9) { // Slot 9 + Name (_ADR, 0x00090000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S10) { // Slot 10 + Name (_ADR, 0x000A0000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S11) { // Slot 11 + Name (_ADR, 0x000B0000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S12) { // Slot 12 + Name (_ADR, 0x000C0000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S13) { // Slot 13 + Name (_ADR, 0x000D0000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S14) { // Slot 14 + Name (_ADR, 0x000E0000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S15) { // Slot 15 + Name (_ADR, 0x000F0000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S16) { // Slot 16 + Name (_ADR, 0x00100000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S17) { // Slot 17 + Name (_ADR, 0x00110000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S18) { // Slot 18 + Name (_ADR, 0x00120000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S19) { // Slot 19 + Name (_ADR, 0x00130000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S20) { // Slot 20 + Name (_ADR, 0x00140000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S21) { // Slot 21 + Name (_ADR, 0x00150000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S22) { // Slot 22 + Name (_ADR, 0x00160000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S23) { // Slot 23 + Name (_ADR, 0x00170000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S24) { // Slot 24 + Name (_ADR, 0x00180000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S25) { // Slot 25 + Name (_ADR, 0x00190000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S26) { // Slot 26 + Name (_ADR, 0x001A0000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S27) { // Slot 27 + Name (_ADR, 0x001B0000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S28) { // Slot 28 + Name (_ADR, 0x001C0000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S29) { // Slot 29 + Name (_ADR, 0x001D0000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S30) { // Slot 30 + Name (_ADR, 0x001E0000) + Method (_EJ0,1) { Return (0x0) } + } + + Device (S31) { // Slot 31 + Name (_ADR, 0x001F0000) + Method (_EJ0,1) { Return (0x0) } + } + Method (_CRS, 0, NotSerialized) { Name (MEMP, ResourceTemplate () |