doc: update list of supported boards in hm2_pci manpage
docs: fix motion(9) motion.in-position pin name

Also expand the description of the pin meaning a little.
Default to on, as it makes tuning easier.

This will disturb existing tunings, so those with old configs who do not want
to re-tune may want to set pid.N.error-previous-target to false.
docs: update motion(9) to match reality

We haven't had a "motion.motion-inpos" pin since af317701 (January 2009).
docs: add missing motion.motion-type to motion(9) manpage
Merge remote-tracking branch 'origin/2.6'
hm2: add missing case for 5i24 support

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
doc: add 5i24 to list of supported boards in hm2_pci manpage and to MODULE_DESCRIPTION text

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
Merge remote-tracking branch 'origin/2.6'
docs: fix hm2 encoder.rawcounts pin name in manpage

The hm2 driver exports pins called "hm2_BLAH.X.encoder.YY.rawcounts",
but the manpage incorrectly called them ".rawcount".  Fix the manpage
to match the existing pin name.
Merge remote-tracking branch 'origin/v2.5_branch' into 2.6
hal/link/unlink: revise semantics of hal_link()/hal_unlink():

old behavior: a pin's default value would be overwritten by a signal value
on link, effectively making the default pin value invisible outside the
component, and potentially causing a jump in the pin's value on link.

an unlink would re-apply the pin's hidden default value regardless of the
signal value, also causing a potential jump in the pin's value on unlink.

new behavior: the very first link of a signal to a pin will make the
signal inherit the pin's value. On unlink, the pin's default value will
be set from the current signal value.

The result is:
- no sudden jumps in pin values as a result of link/unlink
- it is now possible to access a pin's default value from other pins
- it is possible to have the changed default value retained on unlink

Change of behavior: Code relying on signal values defaulting to zero
post-linking should be revised to consider:

So far, a new signal value defaulted to 0/0.0/false regardless of
the pin's values linked to it.

Now, the signal will inherit the first linked pin's value.

ref: [Emc-developers] PID bidirectional pins. Mar 16 2014
hm2: Bring out A, B and INDEX inputs to hal pins.

This is important to muxed encoders as these pins are not available as GPIO.

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
hm2: fix typo in 5i24 connector numbers

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
Merge remote-tracking branch 'origin/v2.5_branch' into 2.6
Merge remote-tracking branch 'origin/2.6'
pickconfig: always allow make_shortcut (#372)

minor: eliminate unneeded global (::writeanyway)
       and clarify name (forcecopy)
Merge branch '2.6'
Trajectory planner overhaul for lookahead

* Refactored tpRunCycle, tpAddLine, tpAddCircle, and tpAddRigidTap
* Cleaned up const specifiers for many function pointers
* Implemented pass-by-constant pointer for a few large inputs
* Reformatted documentation to be Doxygen compatible
Prototype pass by constant pointer for posemath.

Demonstrates const pointer passing instead of pass-by-value to a few
posemath functions that are used in the trajectory planner.