Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2025 17:26:05 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 6f659c9a49a0 - main - pci: Change device to function
Message-ID:  <202502021726.512HQ5en069266@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=6f659c9a49a01b6451edc169534375479f402f6a

commit 6f659c9a49a01b6451edc169534375479f402f6a
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2025-02-02 17:25:14 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2025-02-02 17:26:04 +0000

    pci: Change device to function
    
    It's functions that are placed into D3 for these value, not the device.
    
    PR: 259703
    Sponsored by:           Netflix
---
 sys/dev/pci/pci.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index edebb718ec53..84db16587bde 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -353,8 +353,8 @@ static int pci_do_power_nodriver = 0;
 SYSCTL_INT(_hw_pci, OID_AUTO, do_power_nodriver, CTLFLAG_RWTUN,
     &pci_do_power_nodriver, 0,
     "Place a function into D3 state when no driver attaches to it.  0 means"
-    " disable.  1 means conservatively place devices into D3 state.  2 means"
-    " aggressively place devices into D3 state.  3 means put absolutely"
+    " disable.  1 means conservatively place function into D3 state.  2 means"
+    " aggressively place function into D3 state.  3 means put absolutely"
     " everything in D3 state.");
 
 int pci_do_power_resume = 1;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502021726.512HQ5en069266>