Commit 1c6ceff7 authored by Daniel Krebs's avatar Daniel Krebs
Browse files

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

parent bae7206d
......@@ -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;
......
......@@ -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();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment