Added e100 driver for kernel 3.0.

This commit is contained in:
Florian Pose 2012-04-10 19:09:16 +02:00
parent 12d6108d82
commit ccaef13810
5 changed files with 6404 additions and 8 deletions

4
NEWS
View File

@ -1,6 +1,6 @@
-------------------------------------------------------------------------------
$Id$
$Id: NEWS,v 8ebecea534d3 2012/01/30 14:12:21 fp $
vim: spelllang=en spell
@ -11,7 +11,7 @@ Changes since 1.5:
* Added e1000e driver for 2.3.32, 2.6.33, 2.6.34 (thanks to Siwei Zhuang),
2.6.35 and 2.6.37.
* Added r8169 driver for 2.6.35.
* Added e100 driver for 2.6.35.
* Added e100 driver for 2.6.35, 3.0.
* Added e1000 driver for 2.6.35.
Changes in 1.5:

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# $Id$
# $Id: configure.ac,v 97c7c202fa78 2012/01/09 14:16:40 fp $
#
# Copyright (C) 2006-2009 Florian Pose, Ingenieurgemeinschaft IgH
#
@ -92,8 +92,14 @@ if test -z "$kernelrelease"; then
AC_MSG_ERROR([Failed to extract Linux kernel version!])
fi
# Extract three numbers from kernel release string
linuxversion=`echo $kernelrelease | grep -oE "^[[0-9]]+\.[[0-9]]+\.[[0-9]]+"`
if test ${kernelrelease%%.*} -gt 2; then
regex="^[[0-9]]+\.[[0-9]]+"
else
regex="^[[0-9]]+\.[[0-9]]+\.[[0-9]]+"
fi
# Extract numbers from kernel release
linuxversion=`echo $kernelrelease | grep -oE "$regex"`
AC_SUBST(LINUX_SOURCE_DIR,[$sourcedir])
AC_MSG_RESULT([$LINUX_SOURCE_DIR (Kernel $linuxversion)])

View File

@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
#
# $Id$
# $Id: Makefile.am,v b63281ec5e4a 2012/01/30 08:54:50 fp $
#
# Copyright (C) 2006-2008 Florian Pose, Ingenieurgemeinschaft IgH
#
@ -20,7 +20,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
# ---
#
#
# The license mentioned above concerns the source code only. Using the
# EtherCAT technology and brand is only permitted in compliance with the
# industrial property and similar rights of Beckhoff Automation GmbH.
@ -97,6 +97,8 @@ noinst_HEADERS = \
e100-2.6.35-orig.c \
e100-2.6.37-ethercat.c \
e100-2.6.37-orig.c \
e100-3.0-ethercat.c \
e100-3.0-orig.c \
ecdev.h \
generic.c \
r8169-2.6.24-ethercat.c \
@ -120,7 +122,7 @@ noinst_HEADERS = \
EXTRA_DIST = \
Kbuild.in
BUILT_SOURCES = \
Kbuild

3281
devices/e100-3.0-ethercat.c Normal file

File diff suppressed because it is too large Load Diff

3107
devices/e100-3.0-orig.c Normal file

File diff suppressed because it is too large Load Diff