author | Florian Pose <fp@igh-essen.com> |
Mon, 27 Oct 2014 13:14:56 +0100 | |
branch | stable-1.5 |
changeset 2546 | 2fa43746d972 |
parent 2536 | 15f122b0f3d2 |
child 2561 | 4839e81d2bdd |
permissions | -rw-r--r-- |
2192 | 1 |
#------------------------------------------------------------------------------ |
2 |
# |
|
3 |
# EtherCAT master configuration file for use with ethercatctl. |
|
4 |
# |
|
5 |
# $Id$ |
|
6 |
# |
|
2536 | 7 |
# vim: spelllang=en spell tw=78 |
8 |
# |
|
2192 | 9 |
#------------------------------------------------------------------------------ |
10 |
||
11 |
# |
|
2536 | 12 |
# Main Ethernet devices. |
2192 | 13 |
# |
14 |
# The MASTER<X>_DEVICE variable specifies the Ethernet device for a master |
|
15 |
# with index 'X'. |
|
16 |
# |
|
17 |
# Specify the MAC address (hexadecimal with colons) of the Ethernet device to |
|
18 |
# use. Example: "00:00:08:44:ab:66" |
|
19 |
# |
|
20 |
# The broadcast address "ff:ff:ff:ff:ff:ff" has a special meaning: It tells |
|
21 |
# the master to accept the first device offered by any Ethernet driver. |
|
22 |
# |
|
23 |
# The MASTER<X>_DEVICE variables also determine, how many masters will be |
|
24 |
# created: A non-empty variable MASTER0_DEVICE will create one master, adding a |
|
25 |
# non-empty variable MASTER1_DEVICE will create a second master, and so on. |
|
26 |
# |
|
27 |
MASTER0_DEVICE="" |
|
28 |
#MASTER1_DEVICE="" |
|
29 |
||
30 |
# |
|
2536 | 31 |
# Backup Ethernet devices |
32 |
# |
|
33 |
# The MASTER<X>_BACKUP variables specify the devices used for redundancy. They |
|
34 |
# behaves nearly the same as the MASTER<X>_DEVICE variable, except that it |
|
35 |
# does not interpret the ff:ff:ff:ff:ff:ff address. |
|
36 |
# |
|
37 |
#MASTER0_BACKUP="" |
|
38 |
||
39 |
# |
|
2192 | 40 |
# Ethernet driver modules to use for EtherCAT operation. |
41 |
# |
|
42 |
# Specify a non-empty list of Ethernet drivers, that shall be used for EtherCAT |
|
43 |
# operation. |
|
44 |
# |
|
45 |
# Except for the generic Ethernet driver module, the init script will try to |
|
46 |
# unload the usual Ethernet driver modules in the list and replace them with |
|
47 |
# the EtherCAT-capable ones. If a certain (EtherCAT-capable) driver is not |
|
48 |
# found, a warning will appear. |
|
49 |
# |
|
50 |
# Possible values: 8139too, e100, e1000, e1000e, r8169, generic. Separate |
|
51 |
# multiple drivers with spaces. |
|
52 |
# |
|
2228
71ebc81c6e43
Enable generic driver by default.
Florian Pose <fp@igh-essen.com>
parents:
2192
diff
changeset
|
53 |
# 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
|
54 |
# Enable them with the --enable-<driver> configure switches. |
2192 | 55 |
# |
2536 | 56 |
# Attention: When using the generic driver, the corresponding Ethernet device |
57 |
# has to be activated (with OS methods, for example 'ip link set ethX up'), |
|
58 |
# before the master is started, otherwise all frames will time out. |
|
59 |
# |
|
2192 | 60 |
DEVICE_MODULES="" |
61 |
||
62 |
# |
|
63 |
# Flags for loading kernel modules. |
|
64 |
# |
|
65 |
# This can usually be left empty. Adjust this variable, if you have problems |
|
66 |
# with module loading. |
|
67 |
# |
|
68 |
#MODPROBE_FLAGS="-b" |
|
69 |
||
70 |
#------------------------------------------------------------------------------ |