[FIX] Add missing include file to pdokcal-hostif.c

Change-Id: I2ad6a8d2d24120b601adefca8b1ca73ded5a3ff4
Reviewed-on: http://brateggevoat1/gerrit/665
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Split Altera Nios II documentation into MN and CN

Change-Id: I43cb228a6bae031b8ef3808fd904746d2979d33d
Reviewed-on: http://brateggevoat1/gerrit/672
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Dynamic buffer address write works with 16 bit host interface

This fix enables writing to the dynamic buffer address registers with 16 bit
host interface. This commit adds byteenable signals between the host and the
register file storing the base addresses for the MMU logic.

Change-Id: If60bc32b32239a07b3f08801ead85f0de9580e0d
Reviewed-on: http://brateggevoat1/gerrit/703
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Rebuild MN board examples due to previous fix

Due to "[FIX] Dynamic buffer address write works with 16 bit host interface"
the MN examples are rebuilt.

Change-Id: I39feac99f4d337647d943cfa9973b7c68137be16
Reviewed-on: http://brateggevoat1/gerrit/704
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FEATURE] Add scripts to FPGA MN designs

Calling the create-this-fpga scripts in the corresponding directory generates
the Qsys and finally compiles the FPGA design.

Change-Id: Id03e259f76933d10d785844b7a76ac99ab2e2e0d
Reviewed-on: http://brateggevoat1/gerrit/717
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Wolfgang Seiss <wolfgang.seiss@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Add CMACRO to differ between MN and CN

The CMACRO CONFIG_MN or CONFIG_CN is used by the PCP software design.
This preparation is necessary for node specific section linking for local /
tightly-coupled memory.

Change-Id: I0ee0e90578d00ae874a0589667e3ac23ef0dc23a
Reviewed-on: http://brateggevoat1/gerrit/666
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Revise section defines Nios II as Managing Node

Due to the revised openPOWERLINK stack design the section macros are reworked.
Note that this commit only covers Altera Nios II as POWERLINK master.

Change-Id: I972261ae298fb9555ea97409ce6d5955e32a5f9f
Reviewed-on: http://brateggevoat1/gerrit/667
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Add missing include file to event.c

Change-Id: Iec16cbba3f42edb8a86c32125babfb9c2f895561
Reviewed-on: http://brateggevoat1/gerrit/669
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Cleanup Altera MN documentation

Change-Id: I8f559d469fcab1908ea9d360296e5ee088b1954b
Reviewed-on: http://brateggevoat1/gerrit/784
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Roland Jung <roland.jung@br-automation.com>
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Add missing variables for CN with cross-traffic

In dllk.c some variables are missing if EPL_MODULE_NMT_MN is not set,
but the CN is configured to support cross-traffic, hence, the macro
EPL_NMT_MAX_NODE_ID is greater 0.

Change-Id: I9808f1aed6f719774f4bae5766705b344fe3980f
Reviewed-on: http://brateggevoat1/gerrit/895
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Correct typos in demo_mn_console/main.c

Change-Id: I8862cbfa666a914f28c576d659e6493ddbcc134e
Reviewed-on: http://brateggevoat1/gerrit/940
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Fix CMakeLists.txt for demo_mn_console

- Include pcap-console.c only for direct linked application or when
  using the usespace daemon

Change-Id: I5105ee2eae23d4024e077478695c1642a191197f
Reviewed-on: http://brateggevoat1/gerrit/941
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Add new definitions in EplInc.h

- Add additional queue definitions
- Add macro for adding timespec values

Change-Id: I3e9861a861bc18251b1b1d34ac30e7c596d92237
Reviewed-on: http://brateggevoat1/gerrit/942
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Add missing includes in trace-printk.c

Change-Id: I3a1c20d3a389efba6dd18ac5342139f67b9fe327
Reviewed-on: http://brateggevoat1/gerrit/943
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Add types for generic function pointers in global.h

Change-Id: I4bd6fe978c5d0687ce50bc24252b3feb854bfa5e
Reviewed-on: http://brateggevoat1/gerrit/944
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Add missing init/deinit of virtual ethernet in ctrlk.c

Change-Id: Iafb9489f51cb7c90d6da31d59666faa03e6be0e5
Reviewed-on: http://brateggevoat1/gerrit/945
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Remove semicolons at macro calls to avoid compiler warning

Change-Id: Id5d0a07a43d3a19f5188986b845ffd3c5313b552
Reviewed-on: http://brateggevoat1/gerrit/946
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FEATURE] Add macros for atomic exchange operation

Change-Id: I6fe2d9d7410c96aa804169d63e8c304f7cbbb929
Reviewed-on: http://brateggevoat1/gerrit/947
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>