author | Florian Pose <fp@igh-essen.com> |
Fri, 16 Mar 2012 18:44:59 +0100 | |
branch | redundancy |
changeset 2369 | 2536d60dea6e |
parent 2330 | 849d250e6a4c |
child 2419 | fdb85a806585 |
permissions | -rw-r--r-- |
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 |
# |
2156
71425e6120d8
Master accepting two devices.
Florian Pose <fp@igh-essen.com>
parents:
2133
diff
changeset
|
7 |
# vim: spelllang=en spell tw=78 |
71425e6120d8
Master accepting two devices.
Florian Pose <fp@igh-essen.com>
parents:
2133
diff
changeset
|
8 |
# |
563
d113b63c55c4
Changed structure of scripts subdirectory.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
9 |
#------------------------------------------------------------------------------ |
d113b63c55c4
Changed structure of scripts subdirectory.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
10 |
|
d113b63c55c4
Changed structure of scripts subdirectory.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
11 |
# |
2156
71425e6120d8
Master accepting two devices.
Florian Pose <fp@igh-essen.com>
parents:
2133
diff
changeset
|
12 |
# Main Ethernet devices. |
563
d113b63c55c4
Changed structure of scripts subdirectory.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
13 |
# |
1091
363205c2ebaf
Improved doc; removed BACKUP variables.
Florian Pose <fp@igh-essen.com>
parents:
812
diff
changeset
|
14 |
# The MASTER<X>_DEVICE variable specifies the Ethernet device for a master |
363205c2ebaf
Improved doc; removed BACKUP variables.
Florian Pose <fp@igh-essen.com>
parents:
812
diff
changeset
|
15 |
# with index 'X'. |
563
d113b63c55c4
Changed structure of scripts subdirectory.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
16 |
# |
639
aa23c48dca2d
Allow only MAC addresses as device identifiers; replaced master list by
Florian Pose <fp@igh-essen.com>
parents:
588
diff
changeset
|
17 |
# Specify the MAC address (hexadecimal with colons) of the Ethernet device to |
699 | 18 |
# use. Example: "00:00:08:44:ab:66" |
563
d113b63c55c4
Changed structure of scripts subdirectory.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
19 |
# |
700
a6b61f1a062d
Broadcast MAC address accepts first device.
Florian Pose <fp@igh-essen.com>
parents:
699
diff
changeset
|
20 |
# The broadcast address "ff:ff:ff:ff:ff:ff" has a special meaning: It tells |
1091
363205c2ebaf
Improved doc; removed BACKUP variables.
Florian Pose <fp@igh-essen.com>
parents:
812
diff
changeset
|
21 |
# the master to accept the first device offered by any Ethernet driver. |
700
a6b61f1a062d
Broadcast MAC address accepts first device.
Florian Pose <fp@igh-essen.com>
parents:
699
diff
changeset
|
22 |
# |
639
aa23c48dca2d
Allow only MAC addresses as device identifiers; replaced master list by
Florian Pose <fp@igh-essen.com>
parents:
588
diff
changeset
|
23 |
# The MASTER<X>_DEVICE variables also determine, how many masters will be |
2133
74dbd0b7d6aa
Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
1556
diff
changeset
|
24 |
# created: A non-empty variable MASTER0_DEVICE will create one master, adding a |
74dbd0b7d6aa
Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
1556
diff
changeset
|
25 |
# 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
|
26 |
# |
699 | 27 |
MASTER0_DEVICE="" |
28 |
#MASTER1_DEVICE="" |
|
563
d113b63c55c4
Changed structure of scripts subdirectory.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
29 |
|
588
ba69f7f34fbf
Introduced DEVICE_MODULES variable in sysconfig file; enabled init
Florian Pose <fp@igh-essen.com>
parents:
573
diff
changeset
|
30 |
# |
2156
71425e6120d8
Master accepting two devices.
Florian Pose <fp@igh-essen.com>
parents:
2133
diff
changeset
|
31 |
# Backup Ethernet devices |
71425e6120d8
Master accepting two devices.
Florian Pose <fp@igh-essen.com>
parents:
2133
diff
changeset
|
32 |
# |
71425e6120d8
Master accepting two devices.
Florian Pose <fp@igh-essen.com>
parents:
2133
diff
changeset
|
33 |
# The MASTER<X>_BACKUP variables specify the devices used for redundancy. They |
71425e6120d8
Master accepting two devices.
Florian Pose <fp@igh-essen.com>
parents:
2133
diff
changeset
|
34 |
# behaves nearly the same as the MASTER<X>_DEVICE variable, except that it |
71425e6120d8
Master accepting two devices.
Florian Pose <fp@igh-essen.com>
parents:
2133
diff
changeset
|
35 |
# does not interpret the ff:ff:ff:ff:ff:ff address. |
71425e6120d8
Master accepting two devices.
Florian Pose <fp@igh-essen.com>
parents:
2133
diff
changeset
|
36 |
# |
71425e6120d8
Master accepting two devices.
Florian Pose <fp@igh-essen.com>
parents:
2133
diff
changeset
|
37 |
#MASTER0_BACKUP="" |
71425e6120d8
Master accepting two devices.
Florian Pose <fp@igh-essen.com>
parents:
2133
diff
changeset
|
38 |
|
71425e6120d8
Master accepting two devices.
Florian Pose <fp@igh-essen.com>
parents:
2133
diff
changeset
|
39 |
# |
1556
52ec7297637c
Init script and sysconfig file for generic Ethernet driver.
Florian Pose <fp@igh-essen.com>
parents:
1353
diff
changeset
|
40 |
# Ethernet driver modules to use for EtherCAT operation. |
588
ba69f7f34fbf
Introduced DEVICE_MODULES variable in sysconfig file; enabled init
Florian Pose <fp@igh-essen.com>
parents:
573
diff
changeset
|
41 |
# |
1556
52ec7297637c
Init script and sysconfig file for generic Ethernet driver.
Florian Pose <fp@igh-essen.com>
parents:
1353
diff
changeset
|
42 |
# Specify a non-empty list of Ethernet drivers, that shall be used for EtherCAT |
52ec7297637c
Init script and sysconfig file for generic Ethernet driver.
Florian Pose <fp@igh-essen.com>
parents:
1353
diff
changeset
|
43 |
# operation. |
588
ba69f7f34fbf
Introduced DEVICE_MODULES variable in sysconfig file; enabled init
Florian Pose <fp@igh-essen.com>
parents:
573
diff
changeset
|
44 |
# |
1556
52ec7297637c
Init script and sysconfig file for generic Ethernet driver.
Florian Pose <fp@igh-essen.com>
parents:
1353
diff
changeset
|
45 |
# Except for the generic Ethernet driver module, the init script will try to |
52ec7297637c
Init script and sysconfig file for generic Ethernet driver.
Florian Pose <fp@igh-essen.com>
parents:
1353
diff
changeset
|
46 |
# unload the usual Ethernet driver modules in the list and replace them with |
52ec7297637c
Init script and sysconfig file for generic Ethernet driver.
Florian Pose <fp@igh-essen.com>
parents:
1353
diff
changeset
|
47 |
# the EtherCAT-capable ones. If a certain (EtherCAT-capable) driver is not |
52ec7297637c
Init script and sysconfig file for generic Ethernet driver.
Florian Pose <fp@igh-essen.com>
parents:
1353
diff
changeset
|
48 |
# found, a warning will appear. |
52ec7297637c
Init script and sysconfig file for generic Ethernet driver.
Florian Pose <fp@igh-essen.com>
parents:
1353
diff
changeset
|
49 |
# |
2133
74dbd0b7d6aa
Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
1556
diff
changeset
|
50 |
# Possible values: 8139too, e100, e1000, e1000e, r8169, generic. Separate |
74dbd0b7d6aa
Added e1000e driver for 2.6.34. Thanks to Siwei Zhuang.
Florian Pose <fp@igh-essen.com>
parents:
1556
diff
changeset
|
51 |
# multiple drivers with spaces. |
699 | 52 |
# |
2330
849d250e6a4c
Enable generic driver by default.
Florian Pose <fp@igh-essen.com>
parents:
2156
diff
changeset
|
53 |
# Note: The e100, e1000, e1000e and r8169 drivers are not built by default. |
849d250e6a4c
Enable generic driver by default.
Florian Pose <fp@igh-essen.com>
parents:
2156
diff
changeset
|
54 |
# Enable 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
|
55 |
# |
699 | 56 |
DEVICE_MODULES="" |
588
ba69f7f34fbf
Introduced DEVICE_MODULES variable in sysconfig file; enabled init
Florian Pose <fp@igh-essen.com>
parents:
573
diff
changeset
|
57 |
|
812
80c3d9c8292f
Added MODPROBE_FLAGS variable.
Florian Pose <fp@igh-essen.com>
parents:
700
diff
changeset
|
58 |
# |
80c3d9c8292f
Added MODPROBE_FLAGS variable.
Florian Pose <fp@igh-essen.com>
parents:
700
diff
changeset
|
59 |
# Flags for loading kernel modules. |
80c3d9c8292f
Added MODPROBE_FLAGS variable.
Florian Pose <fp@igh-essen.com>
parents:
700
diff
changeset
|
60 |
# |
80c3d9c8292f
Added MODPROBE_FLAGS variable.
Florian Pose <fp@igh-essen.com>
parents:
700
diff
changeset
|
61 |
# This can usually be left empty. Adjust this variable, if you have problems |
80c3d9c8292f
Added MODPROBE_FLAGS variable.
Florian Pose <fp@igh-essen.com>
parents:
700
diff
changeset
|
62 |
# with module loading. |
80c3d9c8292f
Added MODPROBE_FLAGS variable.
Florian Pose <fp@igh-essen.com>
parents:
700
diff
changeset
|
63 |
# |
80c3d9c8292f
Added MODPROBE_FLAGS variable.
Florian Pose <fp@igh-essen.com>
parents:
700
diff
changeset
|
64 |
#MODPROBE_FLAGS="-b" |
80c3d9c8292f
Added MODPROBE_FLAGS variable.
Florian Pose <fp@igh-essen.com>
parents:
700
diff
changeset
|
65 |
|
563
d113b63c55c4
Changed structure of scripts subdirectory.
Florian Pose <fp@igh-essen.com>
parents:
diff
changeset
|
66 |
#------------------------------------------------------------------------------ |