git: 8e77643e0441 - stable/13 - LinuxKPI: pci: add PCI_COMMAND_MEMORY

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Mon, 26 Jun 2023 12:08:53 UTC
The branch stable/13 has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=8e77643e0441f6894776e784d1562f1462a6e624

commit 8e77643e0441f6894776e784d1562f1462a6e624
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2023-05-23 23:11:06 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2023-06-26 09:19:45 +0000

    LinuxKPI: pci: add PCI_COMMAND_MEMORY
    
    Add another PCI alias to our native defines for a wireless driver.
    
    Reviewed by:    emaste
    Differential Revision: https://reviews.freebsd.org/D40247
    
    (cherry picked from commit 7d7d12ba7765902f51dabb259a186ca3b1a2d351)
---
 sys/compat/linuxkpi/common/include/linux/pci.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/pci.h b/sys/compat/linuxkpi/common/include/linux/pci.h
index f3c495ff1a21..c2643a27b910 100644
--- a/sys/compat/linuxkpi/common/include/linux/pci.h
+++ b/sys/compat/linuxkpi/common/include/linux/pci.h
@@ -113,6 +113,7 @@ MODULE_PNP_INFO("U32:vendor;U32:device;V32:subvendor;V32:subdevice",	\
 #define	PCI_DEVICE_ID		PCIR_DEVICE
 #define	PCI_COMMAND		PCIR_COMMAND
 #define	PCI_COMMAND_INTX_DISABLE	PCIM_CMD_INTxDIS
+#define	PCI_COMMAND_MEMORY	PCIM_CMD_MEMEN
 #define	PCI_EXP_DEVCTL		PCIER_DEVICE_CTL		/* Device Control */
 #define	PCI_EXP_LNKCTL		PCIER_LINK_CTL			/* Link Control */
 #define	PCI_EXP_LNKCTL_ASPM_L0S	PCIEM_LINK_CTL_ASPMC_L0S