script/ethercat.conf
author Florian Pose <fp@igh-essen.com>
Mon, 21 Oct 2013 19:27:50 +0200
branchstable-1.5
changeset 2532 bdadf6da4914
parent 2228 71ebc81c6e43
child 2536 15f122b0f3d2
child 2589 2b9c78543663
permissions -rw-r--r--
Added configure switch --disable-rt-syslog.
2192
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     1
#------------------------------------------------------------------------------
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     2
#
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     3
#  EtherCAT master configuration file for use with ethercatctl.
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     4
#
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     5
#  $Id$
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     6
#
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     7
#------------------------------------------------------------------------------
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     8
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     9
#
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    10
# Master devices.
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    11
#
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    12
# The MASTER<X>_DEVICE variable specifies the Ethernet device for a master
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    13
# with index 'X'.
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    14
#
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    15
# Specify the MAC address (hexadecimal with colons) of the Ethernet device to
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    16
# use. Example: "00:00:08:44:ab:66"
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    17
#
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    18
# The broadcast address "ff:ff:ff:ff:ff:ff" has a special meaning: It tells
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    19
# the master to accept the first device offered by any Ethernet driver.
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    20
#
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    21
# The MASTER<X>_DEVICE variables also determine, how many masters will be
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    22
# created: A non-empty variable MASTER0_DEVICE will create one master, adding a
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    23
# non-empty variable MASTER1_DEVICE will create a second master, and so on.
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    24
#
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    25
MASTER0_DEVICE=""
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    26
#MASTER1_DEVICE=""
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    27
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    28
#
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    29
# Ethernet driver modules to use for EtherCAT operation.
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    30
#
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    31
# Specify a non-empty list of Ethernet drivers, that shall be used for EtherCAT
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    32
# operation.
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    33
#
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    34
# Except for the generic Ethernet driver module, the init script will try to
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    35
# unload the usual Ethernet driver modules in the list and replace them with
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    36
# the EtherCAT-capable ones. If a certain (EtherCAT-capable) driver is not
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    37
# found, a warning will appear.
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    38
#
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    39
# Possible values: 8139too, e100, e1000, e1000e, r8169, generic. Separate
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    40
# multiple drivers with spaces.
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    41
#
2228
71ebc81c6e43 Enable generic driver by default.
Florian Pose <fp@igh-essen.com>
parents: 2192
diff changeset
    42
# Note: The e100, e1000, e1000e and r8169 drivers are not built by default.
71ebc81c6e43 Enable generic driver by default.
Florian Pose <fp@igh-essen.com>
parents: 2192
diff changeset
    43
# Enable them with the --enable-<driver> configure switches.
2192
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    44
#
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    45
DEVICE_MODULES=""
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    46
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    47
#
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    48
# Flags for loading kernel modules.
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    49
#
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    50
# This can usually be left empty. Adjust this variable, if you have problems
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    51
# with module loading.
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    52
#
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    53
#MODPROBE_FLAGS="-b"
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    54
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    55
#------------------------------------------------------------------------------