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

Removed untested r8169 driver.

parent abf92519
No related branches found
No related tags found
No related merge requests found
...@@ -238,61 +238,6 @@ fi ...@@ -238,61 +238,6 @@ fi
AC_SUBST(KERNEL_E1000,[$kernele1000]) AC_SUBST(KERNEL_E1000,[$kernele1000])
#------------------------------------------------------------------------------
# r8169 driver
#------------------------------------------------------------------------------
AC_ARG_ENABLE([r8169],
AS_HELP_STRING([--enable-r8169],
[Enable r8169 driver]),
[
case "${enableval}" in
yes) enabler8169=1
;;
no) enabler8169=0
;;
*) AC_MSG_ERROR([Invalid value for --enable-r8169])
;;
esac
],
[enabler8169=0] # disabled by default
)
AM_CONDITIONAL(ENABLE_R8169, test "x$enabler8169" = "x1")
AC_SUBST(ENABLE_R8169,[$enabler8169])
AC_ARG_WITH([r8169-kernel],
AC_HELP_STRING(
[--with-r8169-kernel=<X.Y.Z>],
[r8169 kernel (only if differing)]
),
[
kernelr8169=[$withval]
],
[
kernelr8169=$linuxversion
]
)
if test "x${enabler8169}" = "x1"; then
AC_MSG_CHECKING([for kernel for r8169 driver])
kernels=`ls -1 ${srcdir}/devices/ | grep -oE "^r8169-.*-" | cut -d "-" -f 2 | uniq`
found=0
for k in $kernels; do
if test "$kernelr8169" = "$k"; then
found=1
fi
done
if test $found -ne 1; then
AC_MSG_ERROR([kernel $kernelr8169 not available for r8169 driver!])
fi
AC_MSG_RESULT([$kernelr8169])
fi
AC_SUBST(KERNEL_R8169,[$kernelr8169])
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# RTAI path (optional) # RTAI path (optional)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
......
...@@ -57,11 +57,4 @@ ifeq (@ENABLE_E1000@,1) ...@@ -57,11 +57,4 @@ ifeq (@ENABLE_E1000@,1)
obj-m += e1000/ obj-m += e1000/
endif endif
ifeq (@ENABLE_R8169@,1)
EC_R8169_OBJ := r8169-@KERNEL_R8169@-ethercat.o
obj-m += ec_r8169.o
ec_r8169-objs := $(EC_R8169_OBJ)
CFLAGS_$(EC_R8169_OBJ) = -DSVNREV=$(REV)
endif
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
...@@ -72,9 +72,6 @@ endif ...@@ -72,9 +72,6 @@ endif
if ENABLE_E1000 if ENABLE_E1000
$(MAKE) -C e1000 modules_install $(MAKE) -C e1000 modules_install
endif endif
if ENABLE_R8169
cp $(srcdir)/ec_r8169.ko $(DESTDIR)$(LINUX_MOD_PATH)
endif
clean-local: clean-local:
$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" clean $(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" clean
......
This diff is collapsed.
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