Removed untested r8169 driver.

This commit is contained in:
Florian Pose 2008-09-30 12:50:34 +00:00
parent ddc6040be3
commit 017d71e5a2
4 changed files with 0 additions and 3268 deletions

View File

@ -238,61 +238,6 @@ fi
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)
#------------------------------------------------------------------------------

View File

@ -57,11 +57,4 @@ ifeq (@ENABLE_E1000@,1)
obj-m += e1000/
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
#------------------------------------------------------------------------------

View File

@ -72,9 +72,6 @@ endif
if ENABLE_E1000
$(MAKE) -C e1000 modules_install
endif
if ENABLE_R8169
cp $(srcdir)/ec_r8169.ko $(DESTDIR)$(LINUX_MOD_PATH)
endif
clean-local:
$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" clean

File diff suppressed because it is too large Load Diff