From 92fc05ccac44f74d2b094e27c3e0fae963c0600f Mon Sep 17 00:00:00 2001
From: Andy Pugh <andy@bodgesoc.org>
Date: Fri, 28 Jan 2011 23:44:22 +0000
Subject: [PATCH 2/2] Corrections to Hostmot2 manpage

Signed-off-by: Andy Pugh <andy@bodgesoc.org>
---
 docs/man/man9/hostmot2.9 |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/docs/man/man9/hostmot2.9 b/docs/man/man9/hostmot2.9
index d0bf14a..eea1d92 100644
--- a/docs/man/man9/hostmot2.9
+++ b/docs/man/man9/hostmot2.9
@@ -8,7 +8,8 @@
 
 hostmot2 \- EMC2 HAL driver for the Mesa Electronics HostMot2 firmware.
 .SH SYNOPSIS
-
+See the config modparam section below for Mesa card configuration. Typically 
+hostmot2 is loaded with no parameters unless debugging is required. 
 .HP
 .B loadrt hostmot2 [debug_idrom=\fIN\fB] [debug_module_descriptors=\fIN\fB] [debug_pin_descriptors=\fIN\fB] [debug_modules=\fIN\fB]
 .RS
@@ -86,7 +87,7 @@ like this:
 
 .B
 .nf
-loadrt hm2_pci config="firmware=hm2/5i20/SVST8_4.BIT num_encoders=3 num_pwmgens=3 num_stepgens=0,firmware=hm2/5i23/SVST8_4.BIT num_encoders=0 num_pwmgens=0 num_stepgens=2"
+loadrt hm2_pci config="firmware=hm2/5i20/SVST8_4.BIT num_encoders=3 num_pwmgens=3 num_stepgens=3,firmware=hm2/5i23/SVSS8_8.BIT num_sserials=8 num_encoders=4"
 .fi
 
 Note: this assumes that the hm2_pci driver detects the 5i20 first and
@@ -100,7 +101,7 @@ Best to try loading it and see what the detection order is.
 
 The format of each board's config string is:
 
-.B [firmware=\fIF\fB] [num_encoders=\fIN\fB] [num_pwmgens=\fIN\fB] [num_3pwmgens=\fIN\fB] [num_stepgens=\fIN\fB] [num_sserial=\fIN.N.N.N\fB] [num_leds=\fIN\fB] [enable_raw]
+.B [firmware=\fIF\fB] [num_encoders=\fIN\fB] [num_pwmgens=\fIN\fB] [num_3pwmgens=\fIN\fB] [num_stepgens=\fIN\fB] [num_sserials=\fIN.N.N.N\fB] [num_leds=\fIN\fB] [enable_raw]
 .RS
 .TP
 \fBfirmware\fR [optional]
@@ -144,7 +145,7 @@ Only enable the first N stepgens.  If N is -1, all stepgens are enabled.
 If N is 0, no stepgens are enabled.  If N is greater than the number of
 stepgens available in the firmware, the board will fail to register.
 .TP
-\fBnum_sserial\fR [optional, default: 0.0.0.0]
+\fBnum_sserials\fR [optional, default: 0.0.0.0]
 Up to 32 Smart Serial devices can be connected to a Mesa Anything IO board
 depending on the firmware used and the number of physical connections on the
 board. These are arranged in 1-4 ports of 1 to 8 channels.
-- 
1.7.0.4

