Skip to content
Snippets Groups Projects
Commit abf92519 authored by Florian Pose's avatar Florian Pose
Browse files

Removed the forcedeth drivers.

parent 5995a030
No related branches found
No related tags found
No related merge requests found
......@@ -183,61 +183,6 @@ fi
AC_SUBST(KERNEL_E100,[$kernele100])
#------------------------------------------------------------------------------
# forcedeth driver
#------------------------------------------------------------------------------
AC_ARG_ENABLE([forcedeth],
AS_HELP_STRING([--enable-forcedeth],
[Enable forcedeth driver]),
[
case "${enableval}" in
yes) enableforcedeth=1
;;
no) enableforcedeth=0
;;
*) AC_MSG_ERROR([Invalid value for --enable-forcedeth])
;;
esac
],
[enableforcedeth=0] # disabled by default!
)
AM_CONDITIONAL(ENABLE_FORCEDETH, test "x$enableforcedeth" = "x1")
AC_SUBST(ENABLE_FORCEDETH,[$enableforcedeth])
AC_ARG_WITH([forcedeth-kernel],
AC_HELP_STRING(
[--with-forcedeth-kernel=<X.Y.Z>],
[forcedeth kernel (only if differing)]
),
[
kernelforcedeth=[$withval]
],
[
kernelforcedeth=$linuxversion
]
)
if test "x${enableforcedeth}" = "x1"; then
AC_MSG_CHECKING([for kernel for forcedeth driver])
kernels=`ls -1 ${srcdir}/devices/ | grep -oE "^forcedeth-.*-" | cut -d "-" -f 2 | uniq`
found=0
for k in $kernels; do
if test "$kernelforcedeth" = "$k"; then
found=1
fi
done
if test $found -ne 1; then
AC_MSG_ERROR([kernel $kernelforcedeth not available for forcedeth driver!])
fi
AC_MSG_RESULT([$kernelforcedeth])
fi
AC_SUBST(KERNEL_FORCEDETH,[$kernelforcedeth])
#------------------------------------------------------------------------------
# e1000 driver
#------------------------------------------------------------------------------
......
......@@ -53,13 +53,6 @@ ifeq (@ENABLE_E100@,1)
CFLAGS_$(EC_E100_OBJ) = -DSVNREV=$(REV)
endif
ifeq (@ENABLE_FORCEDETH@,1)
EC_FORCEDETH_OBJ := forcedeth-@KERNEL_FORCEDETH@-ethercat.o
obj-m += ec_forcedeth.o
ec_forcedeth-objs := $(EC_FORCEDETH_OBJ)
CFLAGS_$(EC_FORCEDETH_OBJ) = -DSVNREV=$(REV)
endif
ifeq (@ENABLE_E1000@,1)
obj-m += e1000/
endif
......
......@@ -53,11 +53,7 @@ noinst_HEADERS = \
Kbuild.in \
e100-2.6.20-ethercat.c \
e100-2.6.20-orig.c \
ecdev.h \
forcedeth-2.6.17-ethercat.c \
forcedeth-2.6.17-orig.c \
forcedeth-2.6.19-ethercat.c \
forcedeth-2.6.19-orig.c
ecdev.h
BUILT_SOURCES = \
Kbuild
......@@ -76,9 +72,6 @@ endif
if ENABLE_E1000
$(MAKE) -C e1000 modules_install
endif
if ENABLE_FORCEDETH
cp $(srcdir)/ec_forcedeth.ko $(DESTDIR)$(LINUX_MOD_PATH)
endif
if ENABLE_R8169
cp $(srcdir)/ec_r8169.ko $(DESTDIR)$(LINUX_MOD_PATH)
endif
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -32,11 +32,11 @@ MASTER0_DEVICE=""
# and replace them with the EtherCAT-capable ones, respectively. If a certain
# (EtherCAT-capable) driver is not found, a warning will appear.
#
# Possible values are "8139too", "e100", "e1000", and "forcedeth".
# Possible values: 8139too, e100, e1000.
# Separate multiple drivers with spaces.
#
# Note: The e100, e1000 and forcedeth drivers are not built by default. Enable
# them with the --enable-<driver> configure switches.
# Note: The e100 and e1000 drivers are not built by default. Enable them with
# the --enable-<driver> configure switches.
#
DEVICE_MODULES=""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment