git: 7a3d9ce718f9 - stable/13 - e1000: add PCIm function state

Kevin Bowling kbowling at FreeBSD.org
Fri Sep 24 01:35:16 UTC 2021


The branch stable/13 has been updated by kbowling (ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=7a3d9ce718f9658b69cbecfbd5935f80a58f00fa

commit 7a3d9ce718f9658b69cbecfbd5935f80a58f00fa
Author:     Guinan Sun <guinanx.sun at intel.com>
AuthorDate: 2020-07-06 08:12:07 +0000
Commit:     Kevin Bowling <kbowling at FreeBSD.org>
CommitDate: 2021-09-24 01:26:35 +0000

    e1000: add PCIm function state
    
    Added define to pcim function state.
    
    Signed-off-by: Vitaly Lifshits <vitaly.lifshits at intel.com>
    Signed-off-by: Guinan Sun <guinanx.sun at intel.com>
    Reviewed-by: Wei Zhao <wei.zhao1 at intel.com>
    
    Approved by:    imp
    Obtained from:  DPDK (7ee1a3b273c7f321b50e6ba17c3d9537b1b08347)
    MFC after:      1 week
    
    (cherry picked from commit a6f0cc373f0afc24c9c27bbba45a6a7a3ac268d1)
---
 sys/dev/e1000/e1000_defines.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/dev/e1000/e1000_defines.h b/sys/dev/e1000/e1000_defines.h
index 4bd575a81671..5b77bd43af1a 100644
--- a/sys/dev/e1000/e1000_defines.h
+++ b/sys/dev/e1000/e1000_defines.h
@@ -346,6 +346,7 @@
 #define E1000_STATUS_PCIX_SPEED_66	0x00000000 /* PCI-X bus spd 50-66MHz */
 #define E1000_STATUS_PCIX_SPEED_100	0x00004000 /* PCI-X bus spd 66-100MHz */
 #define E1000_STATUS_PCIX_SPEED_133	0x00008000 /* PCI-X bus spd 100-133MHz*/
+#define E1000_STATUS_PCIM_STATE		0x40000000 /* PCIm function state */
 
 #define SPEED_10	10
 #define SPEED_100	100


More information about the dev-commits-src-all mailing list