[FIX] Fix initialization of Edrv8139

If the initialization of the driver failed it was not properly
unregistered. The commit contains some additional whitespace
fixes.

Change-Id: I05d715029092c1507fd67183f3c7639e17c396ff
Resolves: #3112660
[TASK] Cleanup generic demos

- pcap.h was also included in Linux kernel stack version thus breaking
compilation if libpcap is not installed. pcap.h is now only included
for userspace stack.

- Using the macros of the POWERLINK stack to identify the target system
instead of using the operating system standard macros.

Change-Id: Ied206485ee4388261b5d13f829ad747b16a9cbe0
[TASK] Cleanup EplErrStr.c

- Add additional error strings
- Cleanup coding style

Change-Id: Ib439a144055f9ce65ff2b73bf9c54399c6d9ac1d
[FIX] Linux demo_kernel does not compile on x86_64

Compilation is broken because x86_64 architecture is not handled
in CMakeList.txt file of demo_kernel. This fix is identical to
the fix for powerlink_kernel_module.

Change-Id: Icad9ac354a54f847e33a8758b33c3e340b4aea2d
[FIX] Unreadable network interfaces in QT demo on Windows

- Network interface selection dialog of QT demo application prints description
  instead of device name which is much more meaningful.

Change-Id: Ia1a948b5800cb2467762bea9d465802336f2abc5
[FIX] Correct syntax error in EplCfg.h

Change-Id: I584971d2046ca79b3e909fb17f133728b79a2c3e
[FIX] ShbLinuxKernel.h included in ShbIpc-NoOS.c

ShbLinuxKernel.h was included by ShbIpc-NoOS.c even if filename
prepends that it is only used for Linux kernel. The structure
definition contained in the file has now moved to ShbIpc.h.

Change-Id: I9b4e361774d5de71429d92cfc902beeea5f1a1c2
Resolves: #85
[FIX] Linux pcap does not reconnect after lost link

- If the link is lost we directly call the TX callback function in
  EdrvSendTxMsg() therefore the stack continues working even if
  the link is lost.

Change-Id: I573b01b41a29d6bf22875f97ccb738f715fb9cc7
Resolves: #48 (for Linux)
[FIX] QT demo misses CN reconnect

Sometimes when a CN was removed or reconfigured it would not shown
in QT demo when it came back. The CN was only added when
kEplNmtNodeEventFound was signalled but this is not always the case
(e.g. after the node was reconfigured). Now the node will also be added
when it reaches Preop1/Preop2/ReadyToOperate state.

Change-Id: Ie770b6eb143dfbc22b1756fe5682fa16c890c57c
Resolves: #31
[FIX] SPIN_LOCK_UNLOCKED is undefined on recent Linux kernels

SPIN_LOCK_UNLOCKED is no longer available in recent Linux kernels
and is therefore replaced by DEFINE_SPINLOCK().

Change-Id: Ibf870b74f1958f055ee5a7f9e2caaf70e4fa2370
[FIX] demo_pi_console does not compile in VS2010

_WINSOCKAPI_ must be defined before including windows.h. Otherwise, compilation breaks due to symbol redefinitions.

Change-Id: I55cedc441b3c3735e65791aaa4e5dfc69f7c2556
[FIX] QT demo network interface string is not passed with correct type

When compiling the QT demo with VisualStudio 2010 in debug mode, the string of
the selected network interface is not correctly handed over to WinPcap. Now,
also compiling the QT demo in debug mode is working.

Change-Id: Iad96185d89d7f6ce968b192611d3c0fb59c7c3a6
[FEATURE] Add additional devices to Edrv82573

- Adding additional derivates of the Intel Gigabit PCI Express chips
  into the driver
- Change EplLoad/EplUnload script to detect different chips handled
  by a single driver. If more than one device is found, the user
  could select which one to use.

Change-Id: I3dbb5aa3024bf902a0ee5573c9a63bdb21152e58
[FEATURE] Update of the lx150t xilinx example with new powerlink ip-core

This is the new direct IO demo for the lx150t board. It consists of the new
powerlink IP-Core which uses the PLB bus and a new gui.

Change-Id: I979c3d31f35448448642277af327b8e242b88ce6
[FEATURE] Update of the lx9 xilinx example with new powerlink ip-core

This is the new direct IO demo for the lx9 board. It consists of the new
powerlink IP-Core which uses the PLB bus and a new gui.

Change-Id: I558b15539fd8281ce707046c96c60161a56c1fa2
[FEATURE] Update of the openmac driver and deletion of xil_openmac

This is the update of the openmac driver in the openmac folder. This version
of the driver will be used in the new xilinx and altera demos. The old drivers
are deleted.

Change-Id: Iea342fbb6c3f3889c78f307efa33638573680d93
[FEATURE] Update of the target specific files for microblaze

This files handle the interrupt controler for xilinx boards. Also a simple
usleep implementation is provided which needs further improvement.

Change-Id: I3aba895d348d008a298e0537c38a8238a43d56ca
[FEATURE] Update of the xilinx microblaze directIO software demo

This is the software for the direct IO demos for xilinx boards. In a
future version both demos should be merged.

Change-Id: I72280decfd2a83483eb07ed646cc8004327da484
[FEATURE] Added the TERASIC INK board demo to the altera demos

This is the demo for the INK reference board. It uses the new powerlink
IP-Core and is configured for the direct IO example

Change-Id: Iee7d4e7ac3e755b968588b6343e8e5f1dbb3267b
[FEATURE] Update of the EBV board altera demo for the altera demos

This is the new version of the EBV board demos. It uses the new powerlink
IP-Core and is a direct IO example

Change-Id: I05f8eee3d985e32277cafb27809fc3cf5a7bc82c