Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137994944
D53208.id164559.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
799 B
Referenced Files
None
Subscribers
None
D53208.id164559.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
@@ -831,6 +831,19 @@
#define pci_save_state(dev) lkpi_pci_save_state(dev)
#define pci_restore_state(dev) lkpi_pci_restore_state(dev)
+static inline int
+linuxkpi_pci_enable_wake(struct pci_dev *pdev, pci_power_t state, bool ena)
+{
+ /*
+ * We do not currently support this in device.h either to
+ * check if the device is allowed to wake up in first place.
+ */
+ pr_debug("%s: TODO\n", __func__);
+ return (0);
+}
+#define pci_enable_wake(dev, state, ena) \
+ linuxkpi_pci_enable_wake(dev, state, ena)
+
static inline int
pci_reset_function(struct pci_dev *pdev)
{
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 28, 11:47 PM (13 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23990012
Default Alt Text
D53208.id164559.diff (799 B)
Attached To
Mode
D53208: LinuxKPI: add skeleton pci_enable_wake()
Attached
Detach File
Event Timeline
Log In to Comment