aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/include/linux/pci.h
diff options
context:
space:
mode:
authorAymeric Wibo <obiwac@FreeBSD.org>2025-06-14 15:29:25 +0000
committerAymeric Wibo <obiwac@FreeBSD.org>2025-08-08 09:42:44 +0000
commit84bbfc32a3f47bd2e32741247afe516cbeff7789 (patch)
tree53b13b371a306a9db97df302d7b1f6f31e997d6a /sys/compat/linuxkpi/common/include/linux/pci.h
parent7988e7e1675d8414f2694c1ee4ed73ac214abfc4 (diff)
Diffstat (limited to 'sys/compat/linuxkpi/common/include/linux/pci.h')
-rw-r--r--sys/compat/linuxkpi/common/include/linux/pci.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/pci.h b/sys/compat/linuxkpi/common/include/linux/pci.h
index ba1c0d2ac99e..3fd4191b9917 100644
--- a/sys/compat/linuxkpi/common/include/linux/pci.h
+++ b/sys/compat/linuxkpi/common/include/linux/pci.h
@@ -223,11 +223,11 @@ enum pcie_link_width {
typedef int pci_power_t;
-#define PCI_D0 PCI_POWERSTATE_D0
-#define PCI_D1 PCI_POWERSTATE_D1
-#define PCI_D2 PCI_POWERSTATE_D2
-#define PCI_D3hot PCI_POWERSTATE_D3
-#define PCI_D3cold 4
+#define PCI_D0 PCI_POWERSTATE_D0
+#define PCI_D1 PCI_POWERSTATE_D1
+#define PCI_D2 PCI_POWERSTATE_D2
+#define PCI_D3hot PCI_POWERSTATE_D3_HOT
+#define PCI_D3cold PCI_POWERSTATE_D3_COLD
#define PCI_POWER_ERROR PCI_POWERSTATE_UNKNOWN