mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
adjust to driver rework
This commit is contained in:
parent
096a0cf0b0
commit
50b336891d
1 changed files with 3 additions and 2 deletions
|
@ -17,6 +17,7 @@
|
|||
#include <villas/fpga/node.hpp>
|
||||
#include <villas/fpga/platform_card.hpp>
|
||||
#include <villas/kernel/devices/device_ip_matcher.hpp>
|
||||
#include <villas/kernel/devices/generic_driver.hpp>
|
||||
#include <villas/kernel/devices/ip_device_reader.hpp>
|
||||
#include <villas/kernel/kernel.hpp>
|
||||
#include <villas/memory_manager.hpp>
|
||||
|
@ -47,8 +48,8 @@ void PlatformCard::connectVFIOtoIps(
|
|||
matcher.match();
|
||||
|
||||
// Bind device to platform driver
|
||||
auto driver =
|
||||
Driver(std::filesystem::path("/sys/bus/platform/drivers/vfio-platform"));
|
||||
auto driver = GenericDriver(
|
||||
std::filesystem::path("/sys/bus/platform/drivers/vfio-platform"));
|
||||
for (auto pair : device_ip_pair) {
|
||||
auto device = pair.second;
|
||||
driver.attach(device);
|
||||
|
|
Loading…
Add table
Reference in a new issue