script/sysconfig/ethercat
changeset 2589 2b9c78543663
parent 2229 97c7c202fa78
equal deleted inserted replaced
2415:af21f0bdc7c9 2589:2b9c78543663
     2 #
     2 #
     3 #  EtherCAT master sysconfig file
     3 #  EtherCAT master sysconfig file
     4 #
     4 #
     5 #  $Id$
     5 #  $Id$
     6 #
     6 #
       
     7 #  vim: spelllang=en spell tw=78
       
     8 #
     7 #------------------------------------------------------------------------------
     9 #------------------------------------------------------------------------------
     8 
    10 
     9 #
    11 #
    10 # Master devices.
    12 # Main Ethernet devices.
    11 #
    13 #
    12 # The MASTER<X>_DEVICE variable specifies the Ethernet device for a master
    14 # The MASTER<X>_DEVICE variable specifies the Ethernet device for a master
    13 # with index 'X'.
    15 # with index 'X'.
    14 #
    16 #
    15 # Specify the MAC address (hexadecimal with colons) of the Ethernet device to
    17 # Specify the MAC address (hexadecimal with colons) of the Ethernet device to
    24 #
    26 #
    25 MASTER0_DEVICE=""
    27 MASTER0_DEVICE=""
    26 #MASTER1_DEVICE=""
    28 #MASTER1_DEVICE=""
    27 
    29 
    28 #
    30 #
       
    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 #
    29 # Ethernet driver modules to use for EtherCAT operation.
    40 # Ethernet driver modules to use for EtherCAT operation.
    30 #
    41 #
    31 # Specify a non-empty list of Ethernet drivers, that shall be used for EtherCAT
    42 # Specify a non-empty list of Ethernet drivers, that shall be used for EtherCAT
    32 # operation.
    43 # operation.
    33 #
    44 #
    34 # Except for the generic Ethernet driver module, the init script will try to
    45 # Except for the generic Ethernet driver module, the init script will try to
    35 # unload the usual Ethernet driver modules in the list and replace them with
    46 # unload the usual Ethernet driver modules in the list and replace them with
    36 # the EtherCAT-capable ones. If a certain (EtherCAT-capable) driver is not
    47 # the EtherCAT-capable ones. If a certain (EtherCAT-capable) driver is not
    37 # found, a warning will appear.
    48 # found, a warning will appear.
    38 #
    49 #
    39 # Possible values: 8139too, e100, e1000, e1000e, r8169, generic. Separate
    50 # Possible values: 8139too, e100, e1000, e1000e, r8169, generic, ccat.
    40 # multiple drivers with spaces.
    51 # Separate multiple drivers with spaces.
    41 #
    52 #
    42 # Note: The e100, e1000, e1000e and r8169 drivers are not built by default.
    53 # Note: The e100, e1000, e1000e, r8169 and ccat drivers are not built by
    43 # Enable them with the --enable-<driver> configure switches.
    54 # default. Enable them with the --enable-<driver> configure switches.
    44 # 
    55 #
       
    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 #
    45 DEVICE_MODULES=""
    60 DEVICE_MODULES=""
    46 
    61 
    47 #
    62 #
    48 # Flags for loading kernel modules.
    63 # Flags for loading kernel modules.
    49 #
    64 #
    50 # This can usually be left empty. Adjust this variable, if you have problems
    65 # This can usually be left empty. Adjust this variable, if you have problems
    51 # with module loading.
    66 # with module loading.
    52 # 
    67 #
    53 #MODPROBE_FLAGS="-b"
    68 #MODPROBE_FLAGS="-b"
    54 
    69 
    55 #------------------------------------------------------------------------------
    70 #------------------------------------------------------------------------------