Device activation note. stable-1.5
authorFlorian Pose <fp@igh-essen.com>
Tue, 10 Dec 2013 10:42:25 +0100
branchstable-1.5
changeset 2536 15f122b0f3d2
parent 2535 72b61b089625
child 2538 51ad16e57f8f
Device activation note.
script/ethercat.conf
script/sysconfig/ethercat
--- a/script/ethercat.conf	Tue Dec 10 10:38:03 2013 +0100
+++ b/script/ethercat.conf	Tue Dec 10 10:42:25 2013 +0100
@@ -4,10 +4,12 @@
 #
 #  $Id$
 #
+#  vim: spelllang=en spell tw=78
+#
 #------------------------------------------------------------------------------
 
 #
-# Master devices.
+# Main Ethernet devices.
 #
 # The MASTER<X>_DEVICE variable specifies the Ethernet device for a master
 # with index 'X'.
@@ -26,6 +28,15 @@
 #MASTER1_DEVICE=""
 
 #
+# Backup Ethernet devices
+#
+# The MASTER<X>_BACKUP variables specify the devices used for redundancy. They
+# behaves nearly the same as the MASTER<X>_DEVICE variable, except that it
+# does not interpret the ff:ff:ff:ff:ff:ff address.
+#
+#MASTER0_BACKUP=""
+
+#
 # Ethernet driver modules to use for EtherCAT operation.
 #
 # Specify a non-empty list of Ethernet drivers, that shall be used for EtherCAT
@@ -42,6 +53,10 @@
 # Note: The e100, e1000, e1000e and r8169 drivers are not built by default.
 # Enable them with the --enable-<driver> configure switches.
 #
+# Attention: When using the generic driver, the corresponding Ethernet device
+# has to be activated (with OS methods, for example 'ip link set ethX up'),
+# before the master is started, otherwise all frames will time out.
+#
 DEVICE_MODULES=""
 
 #
--- a/script/sysconfig/ethercat	Tue Dec 10 10:38:03 2013 +0100
+++ b/script/sysconfig/ethercat	Tue Dec 10 10:42:25 2013 +0100
@@ -53,6 +53,10 @@
 # Note: The e100, e1000, e1000e and r8169 drivers are not built by default.
 # Enable them with the --enable-<driver> configure switches.
 #
+# Attention: When using the generic driver, the corresponding Ethernet device
+# has to be activated (with OS methods, for example 'ip link set ethX up'),
+# before the master is started, otherwise all frames will time out.
+#
 DEVICE_MODULES=""
 
 #