lib/master.c
changeset 1266 dd1f501c4070
parent 1259 5f9d1abbee71
child 1287 cc7b679c74e9
equal deleted inserted replaced
1265:2a3420989cdb 1266:dd1f501c4070
     1 /******************************************************************************
     1 /******************************************************************************
     2  *
     2  *  
     3  *  $Id$
     3  * $Id$
     4  *
     4  * 
     5  *  Copyright (C) 2006  Florian Pose, Ingenieurgemeinschaft IgH
     5  * Copyright (C) 2006-2008  Florian Pose, Ingenieurgemeinschaft IgH
     6  *
     6  * 
     7  *  This file is part of the IgH EtherCAT Master.
     7  * This file is part of the IgH EtherCAT master userspace library.
     8  *
     8  * 
     9  *  The IgH EtherCAT Master is free software; you can redistribute it
     9  * The IgH EtherCAT master userspace library is free software: you can
    10  *  and/or modify it under the terms of the GNU General Public License
    10  * redistribute it and/or modify it under the terms of the GNU Lesser General
    11  *  as published by the Free Software Foundation; either version 2 of the
    11  * Public License as published by the Free Software Foundation, version 2 of
    12  *  License, or (at your option) any later version.
    12  * the License.
    13  *
    13  * 
    14  *  The IgH EtherCAT Master is distributed in the hope that it will be
    14  * The IgH EtherCAT master userspace library is distributed in the hope that
    15  *  useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
    15  * it will be useful, but WITHOUT ANY WARRANTY; without even the implied
    16  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    16  * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    17  *  GNU General Public License for more details.
    17  * GNU Lesser General Public License for more details.
    18  *
    18  * 
    19  *  You should have received a copy of the GNU General Public License
    19  * You should have received a copy of the GNU Lesser General Public License
    20  *  along with the IgH EtherCAT Master; if not, write to the Free Software
    20  * along with the IgH EtherCAT master userspace library. If not, see
    21  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    21  * <http://www.gnu.org/licenses/>.
    22  *
    22  * 
    23  *  The right to use EtherCAT Technology is granted and comes free of
    23  * The right to use EtherCAT Technology is granted and comes free of charge
    24  *  charge under condition of compatibility of product made by
    24  * under condition of compatibility of product made by Licensee. People
    25  *  Licensee. People intending to distribute/sell products based on the
    25  * intending to distribute/sell products based on the code, have to sign an
    26  *  code, have to sign an agreement to guarantee that products using
    26  * agreement to guarantee that products using software based on IgH EtherCAT
    27  *  software based on IgH EtherCAT master stay compatible with the actual
    27  * master stay compatible with the actual EtherCAT specification (which are
    28  *  EtherCAT specification (which are released themselves as an open
    28  * released themselves as an open standard) as the (only) precondition to have
    29  *  standard) as the (only) precondition to have the right to use EtherCAT
    29  * the right to use EtherCAT Technology, IP and trade marks.
    30  *  Technology, IP and trade marks.
       
    31  *
    30  *
    32  *****************************************************************************/
    31  *****************************************************************************/
    33 
    32 
    34 #include <stdlib.h>
    33 #include <stdlib.h>
    35 #include <sys/ioctl.h>
    34 #include <sys/ioctl.h>