script/sysconfig/ethercat
author Florian Pose <fp@igh-essen.com>
Mon, 04 Feb 2008 13:50:20 +0000
changeset 787 efa24cde53a7
parent 700 a6b61f1a062d
child 812 80c3d9c8292f
permissions -rw-r--r--
Added link to hardware table.
563
d113b63c55c4 Changed structure of scripts subdirectory.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     1
#------------------------------------------------------------------------------
d113b63c55c4 Changed structure of scripts subdirectory.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     2
#
573
cdee4ea90ce9 Introduced device IDs; removed comment lines from 8139too; removed
Florian Pose <fp@igh-essen.com>
parents: 563
diff changeset
     3
#  EtherCAT master sysconfig file
563
d113b63c55c4 Changed structure of scripts subdirectory.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     4
#
d113b63c55c4 Changed structure of scripts subdirectory.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     5
#  $Id$
d113b63c55c4 Changed structure of scripts subdirectory.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     6
#
d113b63c55c4 Changed structure of scripts subdirectory.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     7
#------------------------------------------------------------------------------
d113b63c55c4 Changed structure of scripts subdirectory.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     8
d113b63c55c4 Changed structure of scripts subdirectory.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     9
#
573
cdee4ea90ce9 Introduced device IDs; removed comment lines from 8139too; removed
Florian Pose <fp@igh-essen.com>
parents: 563
diff changeset
    10
# Master device and backup-device settings.
563
d113b63c55c4 Changed structure of scripts subdirectory.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    11
#
639
aa23c48dca2d Allow only MAC addresses as device identifiers; replaced master list by
Florian Pose <fp@igh-essen.com>
parents: 588
diff changeset
    12
# The MASTER<X>_DEVICE variable specifies the ethernet device for master 'X',
aa23c48dca2d Allow only MAC addresses as device identifiers; replaced master list by
Florian Pose <fp@igh-essen.com>
parents: 588
diff changeset
    13
# while the MASTER<X>_BACKUP variable specifies the backup ethernet device for
573
cdee4ea90ce9 Introduced device IDs; removed comment lines from 8139too; removed
Florian Pose <fp@igh-essen.com>
parents: 563
diff changeset
    14
# redundancy purposes.
563
d113b63c55c4 Changed structure of scripts subdirectory.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    15
#
639
aa23c48dca2d Allow only MAC addresses as device identifiers; replaced master list by
Florian Pose <fp@igh-essen.com>
parents: 588
diff changeset
    16
# Specify the MAC address (hexadecimal with colons) of the Ethernet device to
699
112abd5b04d2 Adjusted sysconfig file.
Florian Pose <fp@igh-essen.com>
parents: 639
diff changeset
    17
# use. Example: "00:00:08:44:ab:66"
563
d113b63c55c4 Changed structure of scripts subdirectory.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    18
#
700
a6b61f1a062d Broadcast MAC address accepts first device.
Florian Pose <fp@igh-essen.com>
parents: 699
diff changeset
    19
# The broadcast address "ff:ff:ff:ff:ff:ff" has a special meaning: It tells
a6b61f1a062d Broadcast MAC address accepts first device.
Florian Pose <fp@igh-essen.com>
parents: 699
diff changeset
    20
# the master to accept the first device offered by any ethernet driver.
a6b61f1a062d Broadcast MAC address accepts first device.
Florian Pose <fp@igh-essen.com>
parents: 699
diff changeset
    21
#
639
aa23c48dca2d Allow only MAC addresses as device identifiers; replaced master list by
Florian Pose <fp@igh-essen.com>
parents: 588
diff changeset
    22
# The MASTER<X>_DEVICE variables also determine, how many masters will be
573
cdee4ea90ce9 Introduced device IDs; removed comment lines from 8139too; removed
Florian Pose <fp@igh-essen.com>
parents: 563
diff changeset
    23
# created: A non-empty variable MASTER0_DEVICE will create one master, adding
cdee4ea90ce9 Introduced device IDs; removed comment lines from 8139too; removed
Florian Pose <fp@igh-essen.com>
parents: 563
diff changeset
    24
# a non-empty variable MASTER1_DEVICE will create a second master, and so on.
563
d113b63c55c4 Changed structure of scripts subdirectory.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    25
#
699
112abd5b04d2 Adjusted sysconfig file.
Florian Pose <fp@igh-essen.com>
parents: 639
diff changeset
    26
# Note: The backup devices are not implemented, yet.
112abd5b04d2 Adjusted sysconfig file.
Florian Pose <fp@igh-essen.com>
parents: 639
diff changeset
    27
#
112abd5b04d2 Adjusted sysconfig file.
Florian Pose <fp@igh-essen.com>
parents: 639
diff changeset
    28
MASTER0_DEVICE=""
112abd5b04d2 Adjusted sysconfig file.
Florian Pose <fp@igh-essen.com>
parents: 639
diff changeset
    29
MASTER0_BACKUP=""
112abd5b04d2 Adjusted sysconfig file.
Florian Pose <fp@igh-essen.com>
parents: 639
diff changeset
    30
112abd5b04d2 Adjusted sysconfig file.
Florian Pose <fp@igh-essen.com>
parents: 639
diff changeset
    31
#MASTER1_DEVICE=""
112abd5b04d2 Adjusted sysconfig file.
Florian Pose <fp@igh-essen.com>
parents: 639
diff changeset
    32
#MASTER1_BACKUP=""
563
d113b63c55c4 Changed structure of scripts subdirectory.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    33
588
ba69f7f34fbf Introduced DEVICE_MODULES variable in sysconfig file; enabled init
Florian Pose <fp@igh-essen.com>
parents: 573
diff changeset
    34
#
ba69f7f34fbf Introduced DEVICE_MODULES variable in sysconfig file; enabled init
Florian Pose <fp@igh-essen.com>
parents: 573
diff changeset
    35
# Ethernet driver modules to replace with EtherCAT-capable ones.
ba69f7f34fbf Introduced DEVICE_MODULES variable in sysconfig file; enabled init
Florian Pose <fp@igh-essen.com>
parents: 573
diff changeset
    36
#
ba69f7f34fbf Introduced DEVICE_MODULES variable in sysconfig file; enabled init
Florian Pose <fp@igh-essen.com>
parents: 573
diff changeset
    37
# The init script will try to unload the ethernet driver modules in the list
ba69f7f34fbf Introduced DEVICE_MODULES variable in sysconfig file; enabled init
Florian Pose <fp@igh-essen.com>
parents: 573
diff changeset
    38
# and replace them with the EtherCAT-capable ones, respectively. If a certain
ba69f7f34fbf Introduced DEVICE_MODULES variable in sysconfig file; enabled init
Florian Pose <fp@igh-essen.com>
parents: 573
diff changeset
    39
# (EtherCAT-capable) driver is not found, a warning will appear.
ba69f7f34fbf Introduced DEVICE_MODULES variable in sysconfig file; enabled init
Florian Pose <fp@igh-essen.com>
parents: 573
diff changeset
    40
#
699
112abd5b04d2 Adjusted sysconfig file.
Florian Pose <fp@igh-essen.com>
parents: 639
diff changeset
    41
# Possible values are "8139too", "e100", "e1000", and "forcedeth".
112abd5b04d2 Adjusted sysconfig file.
Florian Pose <fp@igh-essen.com>
parents: 639
diff changeset
    42
# Separate multiple drivers with spaces.
112abd5b04d2 Adjusted sysconfig file.
Florian Pose <fp@igh-essen.com>
parents: 639
diff changeset
    43
#
112abd5b04d2 Adjusted sysconfig file.
Florian Pose <fp@igh-essen.com>
parents: 639
diff changeset
    44
# Note: The e100, e1000 and forcedeth drivers are not built by default. Enable
112abd5b04d2 Adjusted sysconfig file.
Florian Pose <fp@igh-essen.com>
parents: 639
diff changeset
    45
# them with the --enable-<driver> configure switches.
588
ba69f7f34fbf Introduced DEVICE_MODULES variable in sysconfig file; enabled init
Florian Pose <fp@igh-essen.com>
parents: 573
diff changeset
    46
# 
699
112abd5b04d2 Adjusted sysconfig file.
Florian Pose <fp@igh-essen.com>
parents: 639
diff changeset
    47
DEVICE_MODULES=""
588
ba69f7f34fbf Introduced DEVICE_MODULES variable in sysconfig file; enabled init
Florian Pose <fp@igh-essen.com>
parents: 573
diff changeset
    48
563
d113b63c55c4 Changed structure of scripts subdirectory.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    49
#------------------------------------------------------------------------------