git: 04456f711853 - stable/13 - linuxkpi: Add rom and romlen to struct pci_dev

Neel Chauhan nc at FreeBSD.org
Sat Jun 12 00:41:05 UTC 2021


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

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

commit 04456f7118533676c50f29464b58e541f03757fe
Author:     Neel Chauhan <nc at FreeBSD.org>
AuthorDate: 2021-06-07 22:50:46 +0000
Commit:     Neel Chauhan <nc at FreeBSD.org>
CommitDate: 2021-06-12 00:36:05 +0000

    linuxkpi: Add rom and romlen to struct pci_dev
    
    Approved by:            bz (src), hselasky (src)
    Differential Reivison:  https://reviews.freebsd.org/D30686
    
    (cherry picked from commit 096104e790fb182d230f25f169792cc610b8f41c)
---
 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 4c07edebc796..0cc467f4cc8f 100644
--- a/sys/compat/linuxkpi/common/include/linux/pci.h
+++ b/sys/compat/linuxkpi/common/include/linux/pci.h
@@ -243,6 +243,8 @@ struct pci_dev {
 	uint32_t		class;
 	uint8_t			revision;
 	bool			msi_enabled;
+	phys_addr_t		rom;
+	size_t			romlen;
 
 	TAILQ_HEAD(, pci_mmio_region)	mmio;
 };


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