Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
3680771b
Commit
3680771b
authored
Jan 17, 2007
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed I/O-routines with new driver
parent
cb9390dd
Changes
30
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
555 additions
and
243 deletions
+555
-243
profibus/lib/rt/src/os_linux/Papi.c
profibus/lib/rt/src/os_linux/Papi.c
+19
-1
profibus/lib/rt/src/os_linux/buildnr.papi.h
profibus/lib/rt/src/os_linux/buildnr.papi.h
+18
-0
profibus/lib/rt/src/os_linux/busparam.c
profibus/lib/rt/src/os_linux/busparam.c
+18
-0
profibus/lib/rt/src/os_linux/ccrl.c
profibus/lib/rt/src/os_linux/ccrl.c
+18
-0
profibus/lib/rt/src/os_linux/dpgdl.c
profibus/lib/rt/src/os_linux/dpgdl.c
+18
-0
profibus/lib/rt/src/os_linux/dpsgdl.c
profibus/lib/rt/src/os_linux/dpsgdl.c
+18
-0
profibus/lib/rt/src/os_linux/fdlgdl.c
profibus/lib/rt/src/os_linux/fdlgdl.c
+18
-0
profibus/lib/rt/src/os_linux/fm7gdl.c
profibus/lib/rt/src/os_linux/fm7gdl.c
+18
-0
profibus/lib/rt/src/os_linux/fmbgdl.c
profibus/lib/rt/src/os_linux/fmbgdl.c
+18
-0
profibus/lib/rt/src/os_linux/fmsgdl.c
profibus/lib/rt/src/os_linux/fmsgdl.c
+18
-0
profibus/lib/rt/src/os_linux/keywords.h
profibus/lib/rt/src/os_linux/keywords.h
+18
-0
profibus/lib/rt/src/os_linux/papiaux.c
profibus/lib/rt/src/os_linux/papiaux.c
+18
-0
profibus/lib/rt/src/os_linux/pb_conf.h
profibus/lib/rt/src/os_linux/pb_conf.h
+18
-0
profibus/lib/rt/src/os_linux/pb_dp.h
profibus/lib/rt/src/os_linux/pb_dp.h
+18
-0
profibus/lib/rt/src/os_linux/pb_dps.h
profibus/lib/rt/src/os_linux/pb_dps.h
+18
-0
profibus/lib/rt/src/os_linux/pb_err.h
profibus/lib/rt/src/os_linux/pb_err.h
+18
-0
profibus/lib/rt/src/os_linux/pb_fdl.h
profibus/lib/rt/src/os_linux/pb_fdl.h
+18
-0
profibus/lib/rt/src/os_linux/pb_fm7.h
profibus/lib/rt/src/os_linux/pb_fm7.h
+18
-0
profibus/lib/rt/src/os_linux/pb_fmb.h
profibus/lib/rt/src/os_linux/pb_fmb.h
+18
-0
profibus/lib/rt/src/os_linux/pb_fms.h
profibus/lib/rt/src/os_linux/pb_fms.h
+18
-0
profibus/lib/rt/src/os_linux/pb_hw.h
profibus/lib/rt/src/os_linux/pb_hw.h
+19
-1
profibus/lib/rt/src/os_linux/pb_if.h
profibus/lib/rt/src/os_linux/pb_if.h
+18
-0
profibus/lib/rt/src/os_linux/pb_ioctl.h
profibus/lib/rt/src/os_linux/pb_ioctl.h
+18
-0
profibus/lib/rt/src/os_linux/pb_ntdrv.h
profibus/lib/rt/src/os_linux/pb_ntdrv.h
+18
-0
profibus/lib/rt/src/os_linux/pb_tools.h
profibus/lib/rt/src/os_linux/pb_tools.h
+18
-0
profibus/lib/rt/src/os_linux/pb_type.h
profibus/lib/rt/src/os_linux/pb_type.h
+18
-0
profibus/lib/rt/src/os_linux/pbus.h
profibus/lib/rt/src/os_linux/pbus.h
+0
-121
profibus/lib/rt/src/os_linux/rt_io_m_pb_ai.c
profibus/lib/rt/src/os_linux/rt_io_m_pb_ai.c
+5
-1
profibus/lib/rt/src/os_linux/rt_io_m_pb_profiboard.c
profibus/lib/rt/src/os_linux/rt_io_m_pb_profiboard.c
+62
-119
profibus/lib/rt/src/os_linux/version.h
profibus/lib/rt/src/os_linux/version.h
+18
-0
No files found.
profibus/lib/rt/src/os_linux/Papi.c
View file @
3680771b
/******************************************************************************
/*
* Proview $Id: Papi.c,v 1.2 2007-01-17 12:40:30 claes Exp $
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*******************************************************************************
* *
* SOFTING AG *
* Richard-Reitzner-Allee 6 *
...
...
profibus/lib/rt/src/os_linux/buildnr.papi.h
View file @
3680771b
/*
* Proview $Id: buildnr.papi.h,v 1.2 2007-01-17 12:40:30 claes Exp $
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#define BUILD_NUMBER 52
#define BUILD_NUMBER_STR "52"
...
...
profibus/lib/rt/src/os_linux/busparam.c
View file @
3680771b
/*
* Proview $Id: busparam.c,v 1.2 2007-01-17 12:40:30 claes Exp $
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*****************************************************************************
* *
* SOFTING AG *
...
...
profibus/lib/rt/src/os_linux/ccrl.c
View file @
3680771b
/*
* Proview $Id: ccrl.c,v 1.2 2007-01-17 12:40:30 claes Exp $
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*****************************************************************************
* *
* SOFTING AG *
...
...
profibus/lib/rt/src/os_linux/dpgdl.c
View file @
3680771b
/*
* Proview $Id: dpgdl.c,v 1.2 2007-01-17 12:40:30 claes Exp $
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*****************************************************************************
* *
* SOFTING AG *
...
...
profibus/lib/rt/src/os_linux/dpsgdl.c
View file @
3680771b
/*
* Proview $Id: dpsgdl.c,v 1.2 2007-01-17 12:40:30 claes Exp $
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*****************************************************************************
* *
* SOFTING AG *
...
...
profibus/lib/rt/src/os_linux/fdlgdl.c
View file @
3680771b
/*
* Proview $Id: fdlgdl.c,v 1.2 2007-01-17 12:40:30 claes Exp $
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*****************************************************************************
* *
* SOFTING AG *
...
...
profibus/lib/rt/src/os_linux/fm7gdl.c
View file @
3680771b
/*
* Proview $Id: fm7gdl.c,v 1.2 2007-01-17 12:40:30 claes Exp $
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*****************************************************************************
* *
* SOFTING AG *
...
...
profibus/lib/rt/src/os_linux/fmbgdl.c
View file @
3680771b
/*
* Proview $Id: fmbgdl.c,v 1.2 2007-01-17 12:40:30 claes Exp $
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*****************************************************************************
* *
* SOFTING AG *
...
...
profibus/lib/rt/src/os_linux/fmsgdl.c
View file @
3680771b
/*
* Proview $Id: fmsgdl.c,v 1.2 2007-01-17 12:40:30 claes Exp $
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*****************************************************************************
* *
* SOFTING AG *
...
...
profibus/lib/rt/src/os_linux/keywords.h
View file @
3680771b
/*
* Proview $Id: keywords.h,v 1.2 2007-01-17 12:40:30 claes Exp $
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*****************************************************************************/
/* */
/* SOFTING AG */
...
...
profibus/lib/rt/src/os_linux/papiaux.c
View file @
3680771b
/*
* Proview $Id: papiaux.c,v 1.2 2007-01-17 12:40:30 claes Exp $
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*****************************************************************************
* *
* SOFTING AG *
...
...
profibus/lib/rt/src/os_linux/pb_conf.h
View file @
3680771b
/*
* Proview $Id: pb_conf.h,v 1.4 2007-01-17 12:40:30 claes Exp $
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*****************************************************************************/
/* */
/* SOFTING AG */
...
...
profibus/lib/rt/src/os_linux/pb_dp.h
View file @
3680771b
/*
* Proview $Id: pb_dp.h,v 1.4 2007-01-17 12:40:30 claes Exp $
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*****************************************************************************/
/* */
/* SOFTING AG */
...
...
profibus/lib/rt/src/os_linux/pb_dps.h
View file @
3680771b
/*
* Proview $Id: pb_dps.h,v 1.2 2007-01-17 12:40:30 claes Exp $
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*****************************************************************************/
/* */
/* SOFTING AG */
...
...
profibus/lib/rt/src/os_linux/pb_err.h
View file @
3680771b
/*
* Proview $Id: pb_err.h,v 1.4 2007-01-17 12:40:30 claes Exp $
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*****************************************************************************/
/* */
/* SOFTING AG */
...
...
profibus/lib/rt/src/os_linux/pb_fdl.h
View file @
3680771b
/*
* Proview $Id: pb_fdl.h,v 1.2 2007-01-17 12:40:30 claes Exp $
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*****************************************************************************/
/* */
/* SOFTING AG */
...
...
profibus/lib/rt/src/os_linux/pb_fm7.h
View file @
3680771b
/*
* Proview $Id: pb_fm7.h,v 1.2 2007-01-17 12:40:30 claes Exp $
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*****************************************************************************/
/* */
/* SOFTING AG */
...
...
profibus/lib/rt/src/os_linux/pb_fmb.h
View file @
3680771b
/*
* Proview $Id: pb_fmb.h,v 1.4 2007-01-17 12:40:30 claes Exp $
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*****************************************************************************/
/* */
/* SOFTING AG */
...
...
profibus/lib/rt/src/os_linux/pb_fms.h
View file @
3680771b
/*
* Proview $Id: pb_fms.h,v 1.2 2007-01-17 12:40:30 claes Exp $
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*****************************************************************************/
/* */
/* SOFTING AG */
...
...
profibus/lib/rt/src/os_linux/pb_hw.h
View file @
3680771b
/*
* Proview $Id: pb_hw.h,v 1.2 2006-02-01 08:35:51 claes Exp $
* Proview $Id: pb_hw.h,v 1.3 2007-01-17 12:40:30 claes Exp $
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*
* Proview $Id: pb_hw.h,v 1.3 2007-01-17 12:40:30 claes Exp $
* Copyright (C) SOFTING GmbH 1995-1999.
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
...
...
profibus/lib/rt/src/os_linux/pb_if.h
View file @
3680771b
/*
* Proview $Id: pb_if.h,v 1.4 2007-01-17 12:40:30 claes Exp $
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*****************************************************************************/
/* */
/* SOFTING AG */
...
...
profibus/lib/rt/src/os_linux/pb_ioctl.h
View file @
3680771b
/*
* Proview $Id: pb_ioctl.h,v 1.2 2007-01-17 12:40:30 claes Exp $
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*****************************************************************************/
/* */
/* SOFTING AG */
...
...
profibus/lib/rt/src/os_linux/pb_ntdrv.h
View file @
3680771b
/*
* Proview $Id: pb_ntdrv.h,v 1.2 2007-01-17 12:40:30 claes Exp $
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*****************************************************************************/
/* */
/* SOFTING AG */
...
...
profibus/lib/rt/src/os_linux/pb_tools.h
View file @
3680771b
/*
* Proview $Id: pb_tools.h,v 1.2 2007-01-17 12:40:30 claes Exp $
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*****************************************************************************/
/* */
/* SOFTING AG */
...
...
profibus/lib/rt/src/os_linux/pb_type.h
View file @
3680771b
/*
* Proview $Id: pb_type.h,v 1.4 2007-01-17 12:40:30 claes Exp $
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*****************************************************************************/
/* */
/* SOFTING AG */
...
...
profibus/lib/rt/src/os_linux/pbus.h
deleted
100644 → 0
View file @
cb9390dd
/*
* Proview $Id: pbus.h,v 1.1 2006-01-16 10:55:42 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef __PBDRVR__
#define __PBDRVR__
#define INIT_MODE 0x00
#define CONFIG_MODE 0x05
#define COMM_MODE 0x08
#define H_READY_MASK 0x874B2D1E
#define C_READY_MASK 0x78B4D2E1
#define IDLE 0x00
#define BUSY 0x01
#define D_DATA_IDLE 0x00
#define D_DATA_APPLY 0xF0
#define D_DATA_BUSY 0x0F
// Macros for defining ioctl commands
#define PB_IOCTL_MAGIC 'c'
#define PB_IOCTL_READCMIDESC _IO(PB_IOCTL_MAGIC, 1)
#define PB_IOCTL_READLOCALREG _IO(PB_IOCTL_MAGIC, 2)
#define PB_IOCTL_WRITECMIDESC _IO(PB_IOCTL_MAGIC, 3)
#define PB_IOCTL_HWRESET _IO(PB_IOCTL_MAGIC, 4)
#define PB_IOCTL_CMI_INIT _IO(PB_IOCTL_MAGIC, 5)
#define PB_IOCTL_READDATADESC _IO(PB_IOCTL_MAGIC, 6)
#define PB_IOCTL_CMI_WRITE _IO(PB_IOCTL_MAGIC, 7)
#define PB_IOCTL_READ_SDB _IO(PB_IOCTL_MAGIC, 8)
#define PB_IOCTL_READ_DB _IO(PB_IOCTL_MAGIC, 9)
#define PB_IOCTL_CMI_READ _IO(PB_IOCTL_MAGIC, 10)
#define PB_IOCTL_READ_IRQ_VALUES _IO(PB_IOCTL_MAGIC, 11)
#define PB_IOCTL_READ_FIRST_SLAVE _IO(PB_IOCTL_MAGIC, 12)
#define PB_IOCTL_WRITE_FIRST_SLAVE _IO(PB_IOCTL_MAGIC, 13)
#define PB_IOCTL_READVERSION _IO(PB_IOCTL_MAGIC, 14)
#define PB_IOCTL_READSERIAL _IO(PB_IOCTL_MAGIC, 15)
#define PB_IOCTL_SET_STALLTIME _IO(PB_IOCTL_MAGIC, 16)
#define ERROR_DESCR_LENGTH 32
typedef
struct
{
unsigned
int
h_ready_mask
;
unsigned
int
h_base_address
;
unsigned
char
h_id
;
unsigned
char
h_int_enable
;
unsigned
char
h_address_swap_mode
;
unsigned
char
h_state
;
unsigned
int
h_param_addr
;
unsigned
int
h_data_addr
;
unsigned
short
h_param_size
;
unsigned
short
h_data_size
;
unsigned
char
h_sema
;
unsigned
char
h_ret_val
;
unsigned
char
h_head
;
unsigned
char
h_tail
;
unsigned
int
h_data_descr_addr
;
unsigned
int
c_ready_mask
;
unsigned
int
c_base_address
;
unsigned
char
c_id
;
unsigned
char
c_int_enable
;
unsigned
char
c_address_swap_mode
;
unsigned
char
c_state
;
unsigned
int
c_param_addr
;
unsigned
int
c_data_addr
;
unsigned
short
c_param_size
;
unsigned
short
c_data_size
;
unsigned
char
c_sema
;
unsigned
char
c_ret_val
;
unsigned
char
c_head
;
unsigned
char
c_tail
;
unsigned
int
c_data_descr_addr
;
}
T_CMI_DESCRIPTOR
;
typedef
struct
{
unsigned
int
reg
[
21
];
}
T_LOCALREG
;
typedef
struct
{
unsigned
char
d_id
;
unsigned
char
dummy
;
unsigned
char
d_sema_c
;
unsigned
char
d_sema_h
;
unsigned
short
d_data_size
;
unsigned
int
d_data_addr
;
}
T_DATA_DESCR
;
typedef
struct
{
T_PROFI_SERVICE_DESCR
*
sdb_ptr
;
USIGN8
*
data_ptr
;
USIGN16
*
data_len_ptr
;
USIGN16
*
retval_ptr
;
}
cmi_request_access_struct
;
typedef
struct
{
USIGN8
data_id
;
// Id of data structure
USIGN16
offset
;
// Offset in data area
USIGN8
*
data_ptr
;
// Pointer to data to write/to be read
USIGN16
*
retval_ptr
;
// Pointer to return value
}
cmi_data_access_struct
;
#endif
profibus/lib/rt/src/os_linux/rt_io_m_pb_ai.c
View file @
3680771b
/*
* Proview $Id: rt_io_m_pb_ai.c,v 1.
4 2006-09-05 11:14:34
claes Exp $
* Proview $Id: rt_io_m_pb_ai.c,v 1.
5 2007-01-17 12:40:30
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -30,8 +30,12 @@
#include <sys/file.h>
#include <sys/ioctl.h>
#include "keywords.h"
#include "pb_type.h"
#include "pb_conf.h"
#include "pb_if.h"
#include "pb_err.h"
#include "pb_fmb.h"
#include "pb_dp.h"
#include "rt_io_pb_locals.h"
...
...
profibus/lib/rt/src/os_linux/rt_io_m_pb_profiboard.c
View file @
3680771b
This diff is collapsed.
Click to expand it.
profibus/lib/rt/src/os_linux/version.h
View file @
3680771b
/*
* Proview $Id: version.h,v 1.2 2007-01-17 12:40:30 claes Exp $
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*****************************************************************************/
/* */
/* SOFTING AG */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment