1 /****************************************************************************** |
1 /****************************************************************************** |
2 * |
2 * |
3 * $Id$ |
3 * $Id$ |
4 * |
4 * |
5 * Copyright (C) 2006-2008 Florian Pose, Ingenieurgemeinschaft IgH |
5 * Copyright (C) 2006-2009 Florian Pose, Ingenieurgemeinschaft IgH |
6 * |
6 * |
7 * This file is part of the IgH EtherCAT master userspace library. |
7 * This file is part of the IgH EtherCAT master userspace library. |
8 * |
8 * |
9 * The IgH EtherCAT master userspace library is free software; you can |
9 * The IgH EtherCAT master userspace library is free software; you can |
10 * redistribute it and/or modify it under the terms of the GNU Lesser General |
10 * redistribute it and/or modify it under the terms of the GNU Lesser General |
11 * Public License as published by the Free Software Foundation; version 2.1 of |
11 * Public License as published by the Free Software Foundation; version 2.1 |
12 * the License. |
12 * of the License. |
13 * |
13 * |
14 * The IgH EtherCAT master userspace library is distributed in the hope that |
14 * The IgH EtherCAT master userspace library is distributed in the hope that |
15 * it will be useful, but WITHOUT ANY WARRANTY; without even the implied |
15 * it will be useful, but WITHOUT ANY WARRANTY; without even the implied |
16 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
17 * GNU Lesser 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 Lesser General Public License |
19 * You should have received a copy of the GNU Lesser General Public License |
20 * along with the IgH EtherCAT master userspace library. If not, see |
20 * along with the IgH EtherCAT master userspace library. If not, see |
21 * <http://www.gnu.org/licenses/>. |
21 * <http://www.gnu.org/licenses/>. |
22 * |
22 * |
23 * The right to use EtherCAT Technology is granted and comes free of charge |
23 * Using the EtherCAT technology and brand is permitted in compliance with |
24 * under condition of compatibility of product made by Licensee. People |
24 * the industrial property and similar rights of Beckhoff Automation GmbH. |
25 * intending to distribute/sell products based on the code, have to sign an |
|
26 * agreement to guarantee that products using software based on IgH EtherCAT |
|
27 * master stay compatible with the actual EtherCAT specification (which are |
|
28 * released themselves as an open standard) as the (only) precondition to have |
|
29 * the right to use EtherCAT Technology, IP and trade marks. |
|
30 * |
25 * |
31 *****************************************************************************/ |
26 *****************************************************************************/ |
32 |
27 |
33 #include <stdlib.h> |
28 #include <stdlib.h> |
34 #include <sys/ioctl.h> |
29 #include <sys/ioctl.h> |