git: f1146027f1d9 - stable/13 - LinuxKPI: add further constants to pci.h

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Wed, 12 Jun 2024 19:16:38 UTC
The branch stable/13 has been updated by bz:

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

commit f1146027f1d9c476e53e1ef9afb0e5f9d3bf41c0
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2024-03-31 17:26:29 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2024-06-12 16:56:53 +0000

    LinuxKPI: add further constants to pci.h
    
    Updated wireless drivers require more knowledge about PCI (BAR) bits.
    
    Sponsored by:   The FreeBSD Foundation
    Reviewed by:    jhb
    Differential Revision: https://reviews.freebsd.org/D44573
    
    (cherry picked from commit a1cdddcf1596d258ce0b01b156dfd9921bd60e08)
---
 sys/compat/linuxkpi/common/include/linux/pci.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/pci.h b/sys/compat/linuxkpi/common/include/linux/pci.h
index d8ab851435f5..5e859e1a65c5 100644
--- a/sys/compat/linuxkpi/common/include/linux/pci.h
+++ b/sys/compat/linuxkpi/common/include/linux/pci.h
@@ -107,6 +107,8 @@ MODULE_PNP_INFO("U32:vendor;U32:device;V32:subvendor;V32:subdevice",	\
 #define	to_pci_dev(n)	container_of(n, struct pci_dev, dev)
 
 #define	PCI_STD_NUM_BARS	6
+#define	PCI_BASE_ADDRESS_0	PCIR_BARS
+#define	PCI_BASE_ADDRESS_MEM_TYPE_64	PCIM_BAR_MEM_64
 #define	PCI_VENDOR_ID		PCIR_VENDOR
 #define	PCI_DEVICE_ID		PCIR_DEVICE
 #define	PCI_COMMAND		PCIR_COMMAND