1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

fpga/card: make pci device a class member (needed later)

This commit is contained in:
Daniel Krebs 2018-05-15 17:47:43 +02:00
parent 8f3833bc73
commit 364b137156
2 changed files with 3 additions and 4 deletions

View file

@ -98,8 +98,9 @@ public: // TODO: make this private
std::string name; /**< The name of the FPGA card */
struct pci *pci;
struct pci* pci;
struct pci_device filter; /**< Filter for PCI device. */
struct pci_device* pdev; /**< PCI device handle */
/// The VFIO container that this card is part of
std::shared_ptr<VfioContainer> vfioContainer;

View file

@ -203,10 +203,8 @@ PCIeCard::mapMemoryBlock(const MemoryBlock& block)
bool
fpga::PCIeCard::init()
PCIeCard::init()
{
struct pci_device *pdev;
auto& mm = MemoryManager::get();
logger = getLogger();