diff options
-rw-r--r-- | src/soc/intel/xeon_sp/acpi/gen1/iiostack.asl | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/src/soc/intel/xeon_sp/acpi/gen1/iiostack.asl b/src/soc/intel/xeon_sp/acpi/gen1/iiostack.asl index 0dd39a0f54..53e144a650 100644 --- a/src/soc/intel/xeon_sp/acpi/gen1/iiostack.asl +++ b/src/soc/intel/xeon_sp/acpi/gen1/iiostack.asl @@ -6,6 +6,17 @@ Name (_HID, EisaId ("PNP0A08") /* PCI Express Bus */) \ Name (_CID, EisaId ("PNP0A03") /* PCI Bus */) \ Name (_UID, 0x##id) \ + Method (_STA, 0, NotSerialized) \ + { \ + If (CondRefOf (_CRS)) \ + { \ + Return (0xf) \ + } \ + Else \ + { \ + Return (0) \ + } \ + } \ Method (_PRT, 0, NotSerialized) \ { \ If (PICM) \ @@ -60,14 +71,15 @@ } \ } +// Keep in sync with iio_domain_set_acpi_name()! MAKE_IIO_DEV(00, 00) MAKE_IIO_DEV(01, 10) MAKE_IIO_DEV(02, 20) MAKE_IIO_DEV(03, 28) #if (CONFIG_MAX_SOCKET > 1) -MAKE_IIO_DEV(06, 40) -MAKE_IIO_DEV(07, 50) -MAKE_IIO_DEV(08, 60) -MAKE_IIO_DEV(09, 68) +MAKE_IIO_DEV(20, 40) +MAKE_IIO_DEV(21, 50) +MAKE_IIO_DEV(22, 60) +MAKE_IIO_DEV(23, 68) #endif |