Added device module for kernel 2.6.17. Still slow?

This commit is contained in:
Florian Pose
2006-11-02 19:08:06 +00:00
parent 7e45d613cb
commit af20e0a5d2
6 changed files with 5891 additions and 300 deletions
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
View File
@@ -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
View File
@@ -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