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:
parent
8f3833bc73
commit
364b137156
2 changed files with 3 additions and 4 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue