Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145798180
D34293.id102828.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D34293.id102828.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/pci.h b/sys/compat/linuxkpi/common/include/linux/pci.h
--- a/sys/compat/linuxkpi/common/include/linux/pci.h
+++ b/sys/compat/linuxkpi/common/include/linux/pci.h
@@ -95,7 +95,9 @@
#define PCI_EXP_LNKCTL PCIER_LINK_CTL /* Link Control */
#define PCI_EXP_LNKCTL_ASPM_L0S PCIEM_LINK_CTL_ASPMC_L0S
#define PCI_EXP_LNKCTL_ASPM_L1 PCIEM_LINK_CTL_ASPMC_L1
+#define PCI_EXP_LNKCTL_ASPMC PCIEM_LINK_CTL_ASPMC
#define PCI_EXP_LNKCTL_CLKREQ_EN PCIEM_LINK_CTL_ECPM /* Enable clock PM */
+#define PCI_EXP_LNKCTL_HAWD PCIEM_LINK_CTL_HAWD
#define PCI_EXP_FLAGS_TYPE PCIEM_FLAGS_TYPE /* Device/Port type */
#define PCI_EXP_DEVCAP PCIER_DEVICE_CAP /* Device capabilities */
#define PCI_EXP_DEVSTA PCIER_DEVICE_STA /* Device Status */
@@ -139,7 +141,6 @@
#define PCI_EXP_LNKCTL2_ENTER_COMP 0x0010 /* Enter Compliance */
#define PCI_EXP_LNKCTL2_TX_MARGIN 0x0380 /* Transmit Margin */
-#define PCI_EXP_LNKCTL_HAWD PCIEM_LINK_CTL_HAWD
#define PCI_EXP_LNKCAP_CLKPM 0x00040000
#define PCI_EXP_DEVSTA_TRPND 0x0020
@@ -185,6 +186,10 @@
#define PCI_ERR_ROOT_ERR_SRC PCIR_AER_COR_SOURCE_ID
#define PCI_EXT_CAP_ID_ERR PCIZ_AER
+#define PCI_EXT_CAP_ID_L1SS PCIZ_L1PM
+
+#define PCI_L1SS_CTL1 0x8
+#define PCI_L1SS_CTL1_L1SS_MASK 0xf
#define PCI_IRQ_LEGACY 0x01
#define PCI_IRQ_MSI 0x02
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 25, 3:19 PM (10 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28990570
Default Alt Text
D34293.id102828.diff (1 KB)
Attached To
Mode
D34293: LinuxKPI: pci.h add more defines
Attached
Detach File
Event Timeline
Log In to Comment