summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/pcib_if.m
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/pcib_if.m')
-rw-r--r--sys/dev/pci/pcib_if.m10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/dev/pci/pcib_if.m b/sys/dev/pci/pcib_if.m
index 0b7e8bc..b946c0f 100644
--- a/sys/dev/pci/pcib_if.m
+++ b/sys/dev/pci/pcib_if.m
@@ -144,3 +144,13 @@ METHOD int map_msi {
uint64_t *addr;
uint32_t *data;
};
+
+#
+# Return the device power state to be used during a system sleep state
+# transition such as suspend and resume.
+#
+METHOD int power_for_sleep {
+ device_t pcib;
+ device_t dev;
+ int *pstate;
+};
OpenPOWER on IntegriCloud