Add support for mesanet ethernet UDP boards 7i80 and 7i76E

driver works under rt-preempt and partially under xenomai.
this driver don't use rtnet, but standard system sockets. Finally it will use rtnet layer of xenomai (and maybe rtai)
but for easy testing, driver development and required complex changes of hostmot2 driver it will be now in this state.

syntax:
loadrt hm2_eth debug=0 board_ip="192.168.1.121" board_mac="00:60:1b:10:40:00" config="sserial_port_0=x0xxxxxx num_encoders=1 num_pwmgens=0 num_stepgens=5"

board_mac is needed for adding static arp entry in system
debug=1 will enable logging every data transmition to/from board

under rt-preempt encoder and sserial was tested with 16h test and worked ok
under xenomai there are huge spiked which hang up sserial communication (wip)

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>

Conflicts:
	src/Makefile
	src/hal/drivers/mesa-hostmot2/tram.c
hm2_eth: add more data to debug output

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
hm2_eth: add retry with timeout to enqueue_read() to make sure that all requested data will be readed

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
hm2: read watchdog with same packet like rest of data from board

this way there will be only one read packet and one write packet per thread

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>

Conflicts:
	src/hal/drivers/mesa-hostmot2/watchdog.c
hm2_eth: enable debug logging in enqueue_write function

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
hm2_eth: fix 64-bit build error

Before this change, the following diagnostic is shown when building on 64-bit
platforms:
    warning: field precision specifier '.*' expects argument of type 'int',
        but argument 4 has type 'size_t' [-Wformat]
on 64 bit platforms where 'int' and 'size_t' are different sizes, it is likely
that this ends up passing incorrect arguments to vsprintf, which could lead to
a crash.
hm2_test: Don't crash on test case 12

.. this test crashes because it reaches the queue_read step.
Apparently queue_read is not optional, so hm2_pci and friends will also
fail until they are adapted to provide queue_xxx or until queue_xxx is
made optional for boards that don't need it.