script/sysconfig/ethercat
author Florian Pose <fp@igh-essen.com>
Wed, 30 Apr 2008 09:52:41 +0000
branchstable-1.3
changeset 1753 124eb40a2818
parent 1744 7bc131b92039
child 1758 2f7f5fa7b870
permissions -rw-r--r--
Sync manager size is always the total size of the assigned Pdos, if
there are any.
1740
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     1
#------------------------------------------------------------------------------
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     2
#
1744
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
     3
#  EtherCAT master sysconfig file
1740
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     4
#
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     5
#  $Id$
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     6
#
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     7
#------------------------------------------------------------------------------
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     8
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     9
#
1744
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    10
# Master device and backup-device settings.
1740
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    11
#
1744
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    12
# The MASTER<X>_DEVICE variable specifies the ethernet device for master 'X',
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    13
# while the MASTER<X>_BACKUP variable specifies the backup ethernet device for
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    14
# redundancy purposes.
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    15
#
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    16
# Specify the MAC address (hexadecimal with colons) of the Ethernet device to
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    17
# use. Example: "00:00:08:44:ab:66"
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    18
#
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    19
# The broadcast address "ff:ff:ff:ff:ff:ff" has a special meaning: It tells
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    20
# the master to accept the first device offered by any ethernet driver.
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    21
#
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    22
# The MASTER<X>_DEVICE variables also determine, how many masters will be
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    23
# created: A non-empty variable MASTER0_DEVICE will create one master, adding
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    24
# a non-empty variable MASTER1_DEVICE will create a second master, and so on.
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    25
#
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    26
# Note: The backup devices are not implemented, yet.
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    27
#
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    28
MASTER0_DEVICE=""
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    29
MASTER0_BACKUP=""
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    30
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    31
#MASTER1_DEVICE=""
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    32
#MASTER1_BACKUP=""
1740
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    33
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    34
#
1744
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    35
# Ethernet driver modules to replace with EtherCAT-capable ones.
1740
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    36
#
1744
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    37
# The init script will try to unload the ethernet driver modules in the list
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    38
# and replace them with the EtherCAT-capable ones, respectively. If a certain
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    39
# (EtherCAT-capable) driver is not found, a warning will appear.
1740
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    40
#
1744
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    41
# Possible values are "8139too", "e100", "e1000", and "forcedeth".
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    42
# Separate multiple drivers with spaces.
1740
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    43
#
1744
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    44
# Note: The e100, e1000 and forcedeth drivers are not built by default. Enable
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    45
# them with the --enable-<driver> configure switches.
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    46
# 
7bc131b92039 MERGE trunk -r770:907 -> branches-1.3 (1.3 changes)
Florian Pose <fp@igh-essen.com>
parents: 1740
diff changeset
    47
DEVICE_MODULES=""
1740
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    48
fa0af75bfbe9 MERGE -r759:762 trunk -> branches/stable-1.2 (release 1.2, part two).
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    49
#------------------------------------------------------------------------------