From 04456f7118533676c50f29464b58e541f03757fe Mon Sep 17 00:00:00 2001 From: Neel Chauhan Date: Mon, 7 Jun 2021 15:50:46 -0700 Subject: [PATCH] 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 4c07edebc79..0cc467f4cc8 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; };