script/sysconfig/ethercat
branchstable-1.3
changeset 1744 7bc131b92039
parent 1740 fa0af75bfbe9
child 1758 2f7f5fa7b870
--- a/script/sysconfig/ethercat	Fri Aug 10 15:08:44 2007 +0000
+++ b/script/sysconfig/ethercat	Fri Aug 10 15:27:08 2007 +0000
@@ -1,58 +1,49 @@
 #------------------------------------------------------------------------------
 #
-#  EtherCAT sysconfig file
+#  EtherCAT master sysconfig file
 #
 #  $Id$
 #
 #------------------------------------------------------------------------------
 
 #
-#  PCI index of the (RTL8139-)EtherCAT device
-#  Setting this is mandatory for the EtherCAT init script!
+# Master device and backup-device settings.
 #
-#DEVICE_INDEX=99
+# The MASTER<X>_DEVICE variable specifies the ethernet device for master 'X',
+# while the MASTER<X>_BACKUP variable specifies the backup ethernet device for
+# redundancy purposes.
+#
+# Specify the MAC address (hexadecimal with colons) of the Ethernet device to
+# use. Example: "00:00:08:44:ab:66"
+#
+# The broadcast address "ff:ff:ff:ff:ff:ff" has a special meaning: It tells
+# the master to accept the first device offered by any ethernet driver.
+#
+# The MASTER<X>_DEVICE variables also determine, how many masters will be
+# created: A non-empty variable MASTER0_DEVICE will create one master, adding
+# a non-empty variable MASTER1_DEVICE will create a second master, and so on.
+#
+# Note: The backup devices are not implemented, yet.
+#
+MASTER0_DEVICE=""
+MASTER0_BACKUP=""
+
+#MASTER1_DEVICE=""
+#MASTER1_BACKUP=""
 
 #
-#  Number of Ethernet-over-EtherCAT interfaces every master shall create
-#  on startup. Default is 0.
+# Ethernet driver modules to replace with EtherCAT-capable ones.
 #
-#EOE_INTERFACES=0
-
+# The init script will try to unload the ethernet driver modules in the list
+# and replace them with the EtherCAT-capable ones, respectively. If a certain
+# (EtherCAT-capable) driver is not found, a warning will appear.
 #
-#  Bridge all EoE interfaces after master startup
-#  This variable shall contain the name of the EoE bridge to set up.
-#  If the variable is empty or undefined, no EoE bridge will be built.
+# Possible values are "8139too", "e100", "e1000", and "forcedeth".
+# Separate multiple drivers with spaces.
 #
-#EOE_BRIDGE=eoebr0
-
-#
-#  IP address of the EoE bridge
-#  Set both EOE_IP_ADDRESS and EOE_IP_NETMASK to let the local host communicate
-#  with devices on the EoE bridge.
-#
-#EOE_IP_ADDRESS=192.168.X.X
-
-#
-#  IP netmask of the EoE bridge
-#  See EOE_IP_ADDRESS.
-#
-#EOE_IP_NETMASK=255.255.255.0
-
-#
-#  Renew default gateway after bridge installation.
-#  Set this to the new default gateway, if the default route shall
-#  be renewed after the bridge has been installed.
-#
-#EOE_GATEWAY=192.168.X.X
-
-#
-#  List of extra interfaces to include in the EoE bridge.
-#  Set this to interconnect the EoE bridge with other local interfaces.
-#  If EOE_BRIDGE is empty or undefined, setting this variable has no effect.
-#  Important: The IP address of these interfaces will be cleared. Set
-#  EOE_IP_ADDRESS and EOE_IP_NETMASK accordingly to enable IP traffic to
-#  extra interfaces.
-#
-#EOE_EXTRA_INTERFACES=eth0
+# Note: The e100, e1000 and forcedeth drivers are not built by default. Enable
+# them with the --enable-<driver> configure switches.
+# 
+DEVICE_MODULES=""
 
 #------------------------------------------------------------------------------