Thread (35 messages) 35 messages, 3 authors, 2025-08-18

Re: [PATCH v4 1/5] net: rnpgbe: Add build support for rnpgbe

From: Andrew Lunn <andrew@lunn.ch>
Date: 2025-08-15 01:59:26
Also in: linux-doc, lkml

+static void rnpgbe_shutdown(struct pci_dev *pdev)
+{
+	bool wake;
+
+	rnpgbe_dev_shutdown(pdev, &wake);
+
+	if (system_state == SYSTEM_POWER_OFF) {
+		pci_wake_from_d3(pdev, wake);
+		pci_set_power_state(pdev, PCI_D3hot);
+	}
I don't think you need this test of system state until you have added
WoL support.

    Andrew

---
pw-bot: cr
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help