mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-09-25 03:23:46 +08:00
Added device module for kernel 2.6.17. Still slow?
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+4
-2
@@ -31,9 +31,11 @@
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
EC_MOD_KERNEL := $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)
|
||||
|
||||
obj-m := ec_8139too.o
|
||||
|
||||
ec_8139too-objs := 8139too.o
|
||||
ec_8139too-objs := 8139too-$(EC_MOD_KERNEL)-ethercat.o
|
||||
|
||||
REV := $(shell if test -s $(src)/../svnrevision; then \
|
||||
cat $(src)/../svnrevision; \
|
||||
@@ -41,6 +43,6 @@ REV := $(shell if test -s $(src)/../svnrevision; then \
|
||||
svnversion $(src)/.. 2>/dev/null || echo "unknown"; \
|
||||
fi)
|
||||
|
||||
CFLAGS_8139too.o = -DSVNREV=$(REV)
|
||||
CFLAGS_8139too-$(EC_MOD_KERNEL)-ethercat.o = -DSVNREV=$(REV)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
+4
-2
@@ -34,8 +34,10 @@
|
||||
EXTRA_DIST = \
|
||||
Kbuild \
|
||||
ecdev.h \
|
||||
8139too.c \
|
||||
original_8139too.c
|
||||
8139too-2.6.13-ethercat.c \
|
||||
8139too-2.6.13-orig.c \
|
||||
8139too-2.6.17-ethercat.c \
|
||||
8139too-2.6.17-orig.c
|
||||
|
||||
all-local:
|
||||
$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules
|
||||
|
||||
Reference in New Issue
Block a user