devices/e1000e/Makefile.am
author Florian Pose <fp@igh-essen.com>
Tue, 20 Dec 2011 11:12:04 +0100
branchredundancy
changeset 2306 4c0c7347a956
parent 2136 729df853b3fb
child 2174 cedacf485d81
child 2359 dce13f854817
permissions -rw-r--r--
Removed some locks causing latency when using the library; added ioctl()
latency debugging; fixed FoE memory leaks in error case.
2133
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     1
#------------------------------------------------------------------------------
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     2
#
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     3
#  $Id$
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     4
#
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     5
#  Copyright (C) 2006-2008  Florian Pose, Ingenieurgemeinschaft IgH
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     6
#
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     7
#  This file is part of the IgH EtherCAT Master.
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     8
#
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     9
#  The IgH EtherCAT Master is free software; you can redistribute it and/or
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    10
#  modify it under the terms of the GNU General Public License version 2, as
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    11
#  published by the Free Software Foundation.
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    12
#
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    13
#  The IgH EtherCAT Master is distributed in the hope that it will be useful,
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    14
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    15
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    16
#  Public License for more details.
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    17
#
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    18
#  You should have received a copy of the GNU General Public License along
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    19
#  with the IgH EtherCAT Master; if not, write to the Free Software
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    20
#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    21
#
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    22
#  ---
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    23
#  
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    24
#  The license mentioned above concerns the source code only. Using the
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    25
#  EtherCAT technology and brand is only permitted in compliance with the
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    26
#  industrial property and similar rights of Beckhoff Automation GmbH.
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    27
#
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    28
#------------------------------------------------------------------------------
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    29
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    30
EXTRA_DIST = \
2136
729df853b3fb Added e1000e driver for 2.6.32.
Florian Pose <fp@igh-essen.com>
parents: 2135
diff changeset
    31
	82571-2.6.32-ethercat.c \
729df853b3fb Added e1000e driver for 2.6.32.
Florian Pose <fp@igh-essen.com>
parents: 2135
diff changeset
    32
	82571-2.6.32-orig.c \
2133
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    33
	82571-2.6.34-ethercat.c \
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    34
	82571-2.6.34-orig.c \
2135
f99b2249704c Added e1000e driver for 2.6.37.
Florian Pose <fp@igh-essen.com>
parents: 2133
diff changeset
    35
	82571-2.6.37-ethercat.c \
f99b2249704c Added e1000e driver for 2.6.37.
Florian Pose <fp@igh-essen.com>
parents: 2133
diff changeset
    36
	82571-2.6.37-orig.c \
f99b2249704c Added e1000e driver for 2.6.37.
Florian Pose <fp@igh-essen.com>
parents: 2133
diff changeset
    37
	Kbuild.in \
2136
729df853b3fb Added e1000e driver for 2.6.32.
Florian Pose <fp@igh-essen.com>
parents: 2135
diff changeset
    38
	defines-2.6.32-ethercat.h \
729df853b3fb Added e1000e driver for 2.6.32.
Florian Pose <fp@igh-essen.com>
parents: 2135
diff changeset
    39
	defines-2.6.32-orig.h \
2133
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    40
	defines-2.6.34-ethercat.h \
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    41
	defines-2.6.34-orig.h \
2135
f99b2249704c Added e1000e driver for 2.6.37.
Florian Pose <fp@igh-essen.com>
parents: 2133
diff changeset
    42
	defines-2.6.37-ethercat.h \
f99b2249704c Added e1000e driver for 2.6.37.
Florian Pose <fp@igh-essen.com>
parents: 2133
diff changeset
    43
	defines-2.6.37-orig.h \
2136
729df853b3fb Added e1000e driver for 2.6.32.
Florian Pose <fp@igh-essen.com>
parents: 2135
diff changeset
    44
	e1000-2.6.32-ethercat.h \
729df853b3fb Added e1000e driver for 2.6.32.
Florian Pose <fp@igh-essen.com>
parents: 2135
diff changeset
    45
	e1000-2.6.32-orig.h \
2133
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    46
	e1000-2.6.34-ethercat.h \
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    47
	e1000-2.6.34-orig.h \
2135
f99b2249704c Added e1000e driver for 2.6.37.
Florian Pose <fp@igh-essen.com>
parents: 2133
diff changeset
    48
	e1000-2.6.37-ethercat.h \
f99b2249704c Added e1000e driver for 2.6.37.
Florian Pose <fp@igh-essen.com>
parents: 2133
diff changeset
    49
	e1000-2.6.37-orig.h \
2136
729df853b3fb Added e1000e driver for 2.6.32.
Florian Pose <fp@igh-essen.com>
parents: 2135
diff changeset
    50
	es2lan-2.6.32-ethercat.c \
729df853b3fb Added e1000e driver for 2.6.32.
Florian Pose <fp@igh-essen.com>
parents: 2135
diff changeset
    51
	es2lan-2.6.32-orig.c \
2133
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    52
	es2lan-2.6.34-ethercat.c \
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    53
	es2lan-2.6.34-orig.c \
2135
f99b2249704c Added e1000e driver for 2.6.37.
Florian Pose <fp@igh-essen.com>
parents: 2133
diff changeset
    54
	es2lan-2.6.37-ethercat.c \
f99b2249704c Added e1000e driver for 2.6.37.
Florian Pose <fp@igh-essen.com>
parents: 2133
diff changeset
    55
	es2lan-2.6.37-orig.c \
2136
729df853b3fb Added e1000e driver for 2.6.32.
Florian Pose <fp@igh-essen.com>
parents: 2135
diff changeset
    56
	ethtool-2.6.32-ethercat.c \
729df853b3fb Added e1000e driver for 2.6.32.
Florian Pose <fp@igh-essen.com>
parents: 2135
diff changeset
    57
	ethtool-2.6.32-orig.c \
2133
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    58
	ethtool-2.6.34-ethercat.c \
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    59
	ethtool-2.6.34-orig.c \
2135
f99b2249704c Added e1000e driver for 2.6.37.
Florian Pose <fp@igh-essen.com>
parents: 2133
diff changeset
    60
	ethtool-2.6.37-ethercat.c \
f99b2249704c Added e1000e driver for 2.6.37.
Florian Pose <fp@igh-essen.com>
parents: 2133
diff changeset
    61
	ethtool-2.6.37-orig.c \
2136
729df853b3fb Added e1000e driver for 2.6.32.
Florian Pose <fp@igh-essen.com>
parents: 2135
diff changeset
    62
	hw-2.6.32-ethercat.h \
729df853b3fb Added e1000e driver for 2.6.32.
Florian Pose <fp@igh-essen.com>
parents: 2135
diff changeset
    63
	hw-2.6.32-orig.h \
2133
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    64
	hw-2.6.34-ethercat.h \
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    65
	hw-2.6.34-orig.h \
2135
f99b2249704c Added e1000e driver for 2.6.37.
Florian Pose <fp@igh-essen.com>
parents: 2133
diff changeset
    66
	hw-2.6.37-ethercat.h \
f99b2249704c Added e1000e driver for 2.6.37.
Florian Pose <fp@igh-essen.com>
parents: 2133
diff changeset
    67
	hw-2.6.37-orig.h \
2136
729df853b3fb Added e1000e driver for 2.6.32.
Florian Pose <fp@igh-essen.com>
parents: 2135
diff changeset
    68
	ich8lan-2.6.32-ethercat.c \
729df853b3fb Added e1000e driver for 2.6.32.
Florian Pose <fp@igh-essen.com>
parents: 2135
diff changeset
    69
	ich8lan-2.6.32-orig.c \
2133
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    70
	ich8lan-2.6.34-ethercat.c \
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    71
	ich8lan-2.6.34-orig.c \
2135
f99b2249704c Added e1000e driver for 2.6.37.
Florian Pose <fp@igh-essen.com>
parents: 2133
diff changeset
    72
	ich8lan-2.6.37-ethercat.c \
f99b2249704c Added e1000e driver for 2.6.37.
Florian Pose <fp@igh-essen.com>
parents: 2133
diff changeset
    73
	ich8lan-2.6.37-orig.c \
2136
729df853b3fb Added e1000e driver for 2.6.32.
Florian Pose <fp@igh-essen.com>
parents: 2135
diff changeset
    74
	lib-2.6.32-ethercat.c \
729df853b3fb Added e1000e driver for 2.6.32.
Florian Pose <fp@igh-essen.com>
parents: 2135
diff changeset
    75
	lib-2.6.32-orig.c \
2133
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    76
	lib-2.6.34-ethercat.c \
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    77
	lib-2.6.34-orig.c \
2135
f99b2249704c Added e1000e driver for 2.6.37.
Florian Pose <fp@igh-essen.com>
parents: 2133
diff changeset
    78
	lib-2.6.37-ethercat.c \
f99b2249704c Added e1000e driver for 2.6.37.
Florian Pose <fp@igh-essen.com>
parents: 2133
diff changeset
    79
	lib-2.6.37-orig.c \
2136
729df853b3fb Added e1000e driver for 2.6.32.
Florian Pose <fp@igh-essen.com>
parents: 2135
diff changeset
    80
	netdev-2.6.32-ethercat.c \
729df853b3fb Added e1000e driver for 2.6.32.
Florian Pose <fp@igh-essen.com>
parents: 2135
diff changeset
    81
	netdev-2.6.32-orig.c \
2133
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    82
	netdev-2.6.34-ethercat.c \
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    83
	netdev-2.6.34-orig.c \
2135
f99b2249704c Added e1000e driver for 2.6.37.
Florian Pose <fp@igh-essen.com>
parents: 2133
diff changeset
    84
	netdev-2.6.37-ethercat.c \
f99b2249704c Added e1000e driver for 2.6.37.
Florian Pose <fp@igh-essen.com>
parents: 2133
diff changeset
    85
	netdev-2.6.37-orig.c \
2136
729df853b3fb Added e1000e driver for 2.6.32.
Florian Pose <fp@igh-essen.com>
parents: 2135
diff changeset
    86
	param-2.6.32-ethercat.c \
729df853b3fb Added e1000e driver for 2.6.32.
Florian Pose <fp@igh-essen.com>
parents: 2135
diff changeset
    87
	param-2.6.32-orig.c \
2133
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    88
	param-2.6.34-ethercat.c \
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    89
	param-2.6.34-orig.c \
2135
f99b2249704c Added e1000e driver for 2.6.37.
Florian Pose <fp@igh-essen.com>
parents: 2133
diff changeset
    90
	param-2.6.37-ethercat.c \
f99b2249704c Added e1000e driver for 2.6.37.
Florian Pose <fp@igh-essen.com>
parents: 2133
diff changeset
    91
	param-2.6.37-orig.c \
2136
729df853b3fb Added e1000e driver for 2.6.32.
Florian Pose <fp@igh-essen.com>
parents: 2135
diff changeset
    92
	phy-2.6.32-ethercat.c \
729df853b3fb Added e1000e driver for 2.6.32.
Florian Pose <fp@igh-essen.com>
parents: 2135
diff changeset
    93
	phy-2.6.32-orig.c \
2133
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    94
	phy-2.6.34-ethercat.c \
2135
f99b2249704c Added e1000e driver for 2.6.37.
Florian Pose <fp@igh-essen.com>
parents: 2133
diff changeset
    95
	phy-2.6.34-orig.c \
f99b2249704c Added e1000e driver for 2.6.37.
Florian Pose <fp@igh-essen.com>
parents: 2133
diff changeset
    96
	phy-2.6.37-ethercat.c \
f99b2249704c Added e1000e driver for 2.6.37.
Florian Pose <fp@igh-essen.com>
parents: 2133
diff changeset
    97
	phy-2.6.37-orig.c
2133
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    98
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    99
BUILT_SOURCES = \
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   100
	Kbuild 
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   101
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   102
modules:
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   103
	$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   104
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   105
modules_install:
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   106
	$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" \
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   107
		INSTALL_MOD_DIR="$(INSTALL_MOD_DIR)" modules_install
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   108
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   109
clean-local:
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   110
	$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" clean
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   111
74dbd0b7d6aa Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   112
#------------------------------------------------------------------------------