script/ethercat.conf
author Florian Pose <fp@igh-essen.com>
Thu, 15 Dec 2011 13:21:32 +0100
branchredundancy
changeset 2314 fd8a6fb53d6b
parent 2309 b0ddf0ea0a60
child 2228 71ebc81c6e43
permissions -rw-r--r--
Added e1000 driver for 2.6.32.
2309
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     1
#------------------------------------------------------------------------------
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     2
#
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     3
#  EtherCAT master configuration file for use with ethercatctl.
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     4
#
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     5
#  $Id$
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     6
#
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     7
#------------------------------------------------------------------------------
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     8
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     9
#
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    10
# Master devices.
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    11
#
b0ddf0ea0a60 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
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    13
# with index 'X'.
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    14
#
b0ddf0ea0a60 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
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    16
# use. Example: "00:00:08:44:ab:66"
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    17
#
b0ddf0ea0a60 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
b0ddf0ea0a60 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.
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    20
#
b0ddf0ea0a60 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
b0ddf0ea0a60 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
b0ddf0ea0a60 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.
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    24
#
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    25
MASTER0_DEVICE=""
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    26
#MASTER1_DEVICE=""
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    27
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    28
#
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    29
# Ethernet driver modules to use for EtherCAT operation.
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    30
#
b0ddf0ea0a60 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
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    32
# operation.
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    33
#
b0ddf0ea0a60 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
b0ddf0ea0a60 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
b0ddf0ea0a60 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
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    37
# found, a warning will appear.
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    38
#
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    39
# Possible values: 8139too, e100, e1000, e1000e, r8169, generic. Separate
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    40
# multiple drivers with spaces.
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    41
#
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    42
# Note: The e100, e1000, e1000e, r8169 and generic drivers are not built by
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    43
# default.  Enable them with the --enable-<driver> configure switches.
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    44
#
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    45
DEVICE_MODULES=""
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    46
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    47
#
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    48
# Flags for loading kernel modules.
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    49
#
b0ddf0ea0a60 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
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    51
# with module loading.
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    52
#
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    53
#MODPROBE_FLAGS="-b"
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    54
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    55
#------------------------------------------------------------------------------