Merge b633f74265660c6522282c47bf9ce27d445da864 into 6b73faeee56da38ce46af3d7752da422cf3d38f9

This commit is contained in:
ChristianS99 2016-06-01 19:29:09 +00:00
commit 985cf31484
3 changed files with 8 additions and 4 deletions

View File

@ -15,5 +15,4 @@ install: all
clean:
rm -rf */*.o */*.ko */*.mod.c */.*.cmd .tmp_versions Module* modules*
$(MAKE) -C apps clean

View File

@ -1,4 +1,6 @@
all: cit citin flashprog modt ddtest setmod ddflash
APPS = cit citin flashprog modt ddtest setmod ddflash
all: $(APPS)
cit: cit.c
gcc -o cit cit.c -lpthread
@ -17,3 +19,6 @@ ddtest: ddtest.c
ddflash: ddflash.c
gcc -o ddflash ddflash.c
clean:
rm -rf $(APPS)

View File

@ -25,7 +25,7 @@
#include "ddbridge.h"
#include "ddbridge-regs.h"
#include <asm-generic/pci-dma-compat.h>
#include <linux/pci-dma-compat.h>
static int adapter_alloc = 3;
module_param(adapter_alloc, int, 0444);