Commit 8c50d5a3 authored by Adam Wujek's avatar Adam Wujek 💬

userspace/tools: remove fpga memmap from wrs_pstats

wrs_pstats does not use fpga memory mapping anymore.
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent cfb947e8
ppsi @ 18318cf9
Subproject commit 515126b6b38af11f0e0f12fde00c5a29b9d06dab
Subproject commit 18318cf931bcc0c6f5cb6c6fda2834d5d1ccec72
......@@ -17,12 +17,6 @@
static void parse_sysfs(int init);
#define pstats_rd(reg) \
_fpga_readl(FPGA_BASE_PSTATS + offsetof(struct PSTATS_WB, reg))
#define pstats_wr(reg, val) \
_fpga_writel(FPGA_BASE_PSTATS + offsetof(struct PSTATS_WB, reg), val)
#define NPORTS 18
#define CNT_PP 39
......@@ -77,13 +71,7 @@ char info[][20] = {{"Tu-run|"}, // 0
int pstats_init(int init)
{
int err, i, j;
err = shw_fpga_mmap_init();
if(err) {
printf("shw_fpga_mmap_init failed with %d\n", err);
return err;
}
int i, j;
printf("module initialized\n");
......
Markdown is supported
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