Page MenuHomeFreeBSD

D53208.1791003508.diff
No OneTemporary

Size
799 B
Referenced Files
None
Subscribers
None

D53208.1791003508.diff

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

Mime Type
text/plain
Expires
Sat, Oct 3, 4:58 AM (4 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30106876
Default Alt Text
D53208.1791003508.diff (799 B)

Event Timeline