* [PATCH ethtool 0/7] Documentation fixes
@ 2011-01-12 16:21 Ben Hutchings
2011-01-12 16:22 ` [PATCH ethtool 1/7] ethtool: Fix spelling and spacing in online help Ben Hutchings
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: Ben Hutchings @ 2011-01-12 16:21 UTC (permalink / raw)
To: netdev; +Cc: linux-net-drivers
Some minor fixes to the online help and manual page.
Ben Hutchings (7):
ethtool: Fix spelling and spacing in online help
ethtool.8: Update date, version, web site reference
ethtool.8: Substitute version at configure time
ethtool.8: Fix obvious spelling errors
ethtool.8: Generalise references to network devices, not Ethernet
ethtool.8: Reword synopses for consistency and style
ethtool.8: Fix capitalisation
configure.ac | 2 +-
ethtool.8 => ethtool.8.in | 104 ++++++++++++++++++++++++++++++--------------
ethtool.c | 4 +-
3 files changed, 74 insertions(+), 36 deletions(-)
rename ethtool.8 => ethtool.8.in (84%)
--
1.7.3.4
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH ethtool 1/7] ethtool: Fix spelling and spacing in online help
2011-01-12 16:21 [PATCH ethtool 0/7] Documentation fixes Ben Hutchings
@ 2011-01-12 16:22 ` Ben Hutchings
2011-01-12 16:22 ` [PATCH ethtool 2/7] ethtool.8: Update date, version, web site reference Ben Hutchings
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Ben Hutchings @ 2011-01-12 16:22 UTC (permalink / raw)
To: netdev; +Cc: linux-net-drivers, Kelly Anderson
Kelly Anderson <kelly@silka.with-linux.com> pointed out that
the help for --show-nfc was missing a space between two words.
I checked the rest of the help text with aspell and found one
other error.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
diff --git a/ethtool.c b/ethtool.c
index 63e0ead..1afdfe4 100644
--- a/ethtool.c
+++ b/ethtool.c
@@ -224,13 +224,13 @@ static struct option {
" [ offset N ]\n"
" [ length N ]\n"
" [ value N ]\n" },
- { "-r", "--negotiate", MODE_NWAY_RST, "Restart N-WAY negotation" },
+ { "-r", "--negotiate", MODE_NWAY_RST, "Restart N-WAY negotiation" },
{ "-p", "--identify", MODE_PHYS_ID, "Show visible port identification (e.g. blinking)",
" [ TIME-IN-SECONDS ]\n" },
{ "-t", "--test", MODE_TEST, "Execute adapter self test",
" [ online | offline ]\n" },
{ "-S", "--statistics", MODE_GSTATS, "Show adapter statistics" },
- { "-n", "--show-nfc", MODE_GNFC, "Show Rx network flow classification"
+ { "-n", "--show-nfc", MODE_GNFC, "Show Rx network flow classification "
"options",
" [ rx-flow-hash tcp4|udp4|ah4|sctp4|"
"tcp6|udp6|ah6|sctp6 ]\n" },
--
1.7.3.4
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH ethtool 2/7] ethtool.8: Update date, version, web site reference
2011-01-12 16:21 [PATCH ethtool 0/7] Documentation fixes Ben Hutchings
2011-01-12 16:22 ` [PATCH ethtool 1/7] ethtool: Fix spelling and spacing in online help Ben Hutchings
@ 2011-01-12 16:22 ` Ben Hutchings
2011-01-12 16:22 ` [PATCH ethtool 3/7] ethtool.8: Substitute version at configure time Ben Hutchings
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Ben Hutchings @ 2011-01-12 16:22 UTC (permalink / raw)
To: netdev; +Cc: linux-net-drivers
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
diff --git a/ethtool.8 b/ethtool.8
index 1760924..8c2137b 100644
--- a/ethtool.8
+++ b/ethtool.8
@@ -1,6 +1,7 @@
.\" -*- nroff -*-
.\" Copyright 1999 by David S. Miller. All Rights Reserved.
.\" Portions Copyright 2001 Sun Microsystems
+.\" Portions Copyright 2007, 2009 Free Software Foundation, Inc.
.\" This file may be copied under the terms of the GNU Public License.
.\"
.\" .An - list of n alternative values as in "flav vanilla|strawberry"
@@ -48,7 +49,43 @@
.\" \(*HO - hash options
.\"
.ds HO \fBm\fP|\fBv\fP|\fBt\fP|\fBs\fP|\fBd\fP|\fBf\fP|\fBn\fP|\fBr\fP...
-.TH ETHTOOL 8 "July 2007" "Ethtool version 6"
+.\" Start URL.
+.de UR
+. ds m1 \\$1\"
+. nh
+. if \\n(mH \{\
+. \" Start diversion in a new environment.
+. do ev URL-div
+. do di URL-div
+. \}
+..
+.\" End URL.
+.de UE
+. ie \\n(mH \{\
+. br
+. di
+. ev
+.
+. \" Has there been one or more input lines for the link text?
+. ie \\n(dn \{\
+. do HTML-NS "<a href=""\\*(m1"">"
+. \" Yes, strip off final newline of diversion and emit it.
+. do chop URL-div
+. do URL-div
+\c
+. do HTML-NS </a>
+. \}
+. el \
+. do HTML-NS "<a href=""\\*(m1"">\\*(m1</a>"
+\&\\$*\"
+. \}
+. el \
+\\*(la\\*(m1\\*(ra\\$*\"
+.
+. hy \\n(HY
+..
+
+.TH ETHTOOL 8 "January 2011" "Ethtool version 2.6.37"
.SH NAME
ethtool \- Display or change ethernet card settings
.SH SYNOPSIS
@@ -777,6 +814,6 @@ Scott Feldman,
Andi Kleen.
.SH AVAILABILITY
.B ethtool
-is available over the Web on the SourceForge site at
-http://sourceforge.net/projects/gkernel/
-
+is available from
+.UR http://www.kernel.org/pub/software/network/ethtool/
+.UE
--
1.7.3.4
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH ethtool 3/7] ethtool.8: Substitute version at configure time
2011-01-12 16:21 [PATCH ethtool 0/7] Documentation fixes Ben Hutchings
2011-01-12 16:22 ` [PATCH ethtool 1/7] ethtool: Fix spelling and spacing in online help Ben Hutchings
2011-01-12 16:22 ` [PATCH ethtool 2/7] ethtool.8: Update date, version, web site reference Ben Hutchings
@ 2011-01-12 16:22 ` Ben Hutchings
2011-01-12 16:22 ` [PATCH ethtool 4/7] ethtool.8: Fix obvious spelling errors Ben Hutchings
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Ben Hutchings @ 2011-01-12 16:22 UTC (permalink / raw)
To: netdev; +Cc: linux-net-drivers
Rename ethtool.8 to ethtool.8.in and let autoconf set the version.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
diff --git a/configure.ac b/configure.ac
index 9bc8c26..a96fd4d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,5 +29,5 @@ dnl Checks for library functions.
AC_HEADER_STDC
AC_CHECK_FUNCS(socket strtol)
-AC_CONFIG_FILES([Makefile ethtool.spec])
+AC_CONFIG_FILES([Makefile ethtool.spec ethtool.8])
AC_OUTPUT
diff --git a/ethtool.8 b/ethtool.8.in
similarity index 99%
rename from ethtool.8
rename to ethtool.8.in
index 8c2137b..75f63ba 100644
--- a/ethtool.8
+++ b/ethtool.8.in
@@ -85,7 +85,7 @@
. hy \\n(HY
..
-.TH ETHTOOL 8 "January 2011" "Ethtool version 2.6.37"
+.TH ETHTOOL 8 "January 2011" "Ethtool version @VERSION@"
.SH NAME
ethtool \- Display or change ethernet card settings
.SH SYNOPSIS
--
1.7.3.4
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH ethtool 4/7] ethtool.8: Fix obvious spelling errors
2011-01-12 16:21 [PATCH ethtool 0/7] Documentation fixes Ben Hutchings
` (2 preceding siblings ...)
2011-01-12 16:22 ` [PATCH ethtool 3/7] ethtool.8: Substitute version at configure time Ben Hutchings
@ 2011-01-12 16:22 ` Ben Hutchings
2011-01-12 16:23 ` [PATCH ethtool 5/7] ethtool.8: Generalise references to network devices, not Ethernet Ben Hutchings
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Ben Hutchings @ 2011-01-12 16:22 UTC (permalink / raw)
To: netdev; +Cc: linux-net-drivers
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
diff --git a/ethtool.8.in b/ethtool.8.in
index 75f63ba..4554ca0 100644
--- a/ethtool.8.in
+++ b/ethtool.8.in
@@ -491,12 +491,12 @@ Selects device port.
.TP
.A2 autoneg on off
Specifies whether autonegotiation should be enabled. Autonegotiation
-is enabled by deafult, but in some network devices may have trouble
+is enabled by default, but in some network devices may have trouble
with it, so you can disable it if really necessary.
.TP
.BI advertise \ N
Sets the speed and duplex advertised by autonegotiation. The argument is
-a hexidecimal value using one or a combination of the following values:
+a hexadecimal value using one or a combination of the following values:
.RS
.PD 0
.TP 3
--
1.7.3.4
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH ethtool 5/7] ethtool.8: Generalise references to network devices, not Ethernet
2011-01-12 16:21 [PATCH ethtool 0/7] Documentation fixes Ben Hutchings
` (3 preceding siblings ...)
2011-01-12 16:22 ` [PATCH ethtool 4/7] ethtool.8: Fix obvious spelling errors Ben Hutchings
@ 2011-01-12 16:23 ` Ben Hutchings
2011-01-12 16:23 ` [PATCH ethtool 6/7] ethtool.8: Reword synopses for consistency and style Ben Hutchings
2011-01-12 16:23 ` [PATCH ethtool 7/7] ethtool.8: Fix capitalisation Ben Hutchings
6 siblings, 0 replies; 8+ messages in thread
From: Ben Hutchings @ 2011-01-12 16:23 UTC (permalink / raw)
To: netdev; +Cc: linux-net-drivers
Most operations are generically applicable to devices using other
link-layer protocols.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
diff --git a/ethtool.8.in b/ethtool.8.in
index 4554ca0..b7ba73e 100644
--- a/ethtool.8.in
+++ b/ethtool.8.in
@@ -87,7 +87,7 @@
.TH ETHTOOL 8 "January 2011" "Ethtool version @VERSION@"
.SH NAME
-ethtool \- Display or change ethernet card settings
+ethtool \- Display or change network driver and hardware settings
.SH SYNOPSIS
.B ethtool
.I ethX
@@ -322,10 +322,11 @@ ethtool \- Display or change ethernet card settings
.SH DESCRIPTION
.BI ethtool
-is used for querying settings of an ethernet device and changing them.
+is used for querying and changing settings of a network device driver
+and hardware, particularly for wired Ethernet devices.
.I ethX
-is the name of the ethernet device on which ethtool should operate.
+is the name of the network device on which ethtool should operate.
.SH OPTIONS
.B ethtool
@@ -351,16 +352,16 @@ Specifies whether RX pause should be enabled.
Specifies whether TX pause should be enabled.
.TP
.B \-c \-\-show\-coalesce
-Queries the specified ethernet device for coalescing information.
+Queries the specified network device for coalescing information.
.TP
.B \-C \-\-coalesce
-Changes the coalescing settings of the specified ethernet device.
+Changes the coalescing settings of the specified network device.
.TP
.B \-g \-\-show\-ring
-Queries the specified ethernet device for rx/tx ring parameter information.
+Queries the specified network device for rx/tx ring parameter information.
.TP
.B \-G \-\-set\-ring
-Changes the rx/tx ring parameters of the specified ethernet device.
+Changes the rx/tx ring parameters of the specified network device.
.TP
.BI rx \ N
Changes the number of ring entries for the Rx ring.
@@ -375,10 +376,10 @@ Changes the number of ring entries for the Rx Jumbo ring.
Changes the number of ring entries for the Tx ring.
.TP
.B \-i \-\-driver
-Queries the specified ethernet device for associated driver information.
+Queries the specified network device for associated driver information.
.TP
.B \-d \-\-register\-dump
-Retrieves and prints a register dump for the specified ethernet device.
+Retrieves and prints a register dump for the specified network device.
The register format for some devices is known and decoded others
are printed in hex.
When
@@ -391,13 +392,13 @@ than reading from the device.
.TP
.B \-e \-\-eeprom\-dump
-Retrieves and prints an EEPROM dump for the specified ethernet device.
+Retrieves and prints an EEPROM dump for the specified network device.
When raw is enabled, then it dumps the raw EEPROM data to stdout. The
length and offset parameters allow dumping certain portions of the EEPROM.
Default is to dump the entire EEPROM.
.TP
.B \-E \-\-change\-eeprom
-If value is specified, changes EEPROM byte for the specified ethernet device.
+If value is specified, changes EEPROM byte for the specified network device.
offset and value specify which byte and it's new value. If value is not
specified, stdin is read and written to the EEPROM. The length and offset
parameters allow writing to certain portions of the EEPROM.
@@ -405,10 +406,10 @@ Because of the persistent nature of writing to the EEPROM, a device-specific
magic key must be specified to prevent the accidental writing to the EEPROM.
.TP
.B \-k \-\-show\-offload
-Queries the specified ethernet device for offload information.
+Queries the specified network device for offload information.
.TP
.B \-K \-\-offload
-Changes the offload parameters of the specified ethernet device.
+Changes the offload parameters of the specified network device.
.TP
.A2 rx on off
Specifies whether RX checksumming should be enabled.
@@ -446,24 +447,24 @@ Specifies whether receive hashing offload should be enabled
.B \-p \-\-identify
Initiates adapter-specific action intended to enable an operator to
easily identify the adapter by sight. Typically this involves
-blinking one or more LEDs on the specific ethernet port.
+blinking one or more LEDs on the specific network port.
.TP
.B N
Length of time to perform phys-id, in seconds.
.TP
.B \-P \-\-show-permaddr
-Queries the specified ethernet device for permanent hardware address.
+Queries the specified network device for permanent hardware address.
.TP
.B \-r \-\-negotiate
Restarts auto-negotiation on the specified ethernet device, if
auto-negotiation is enabled.
.TP
.B \-S \-\-statistics
-Queries the specified ethernet device for NIC- and driver-specific
+Queries the specified network device for NIC- and driver-specific
statistics.
.TP
.B \-t \-\-test
-Executes adapter selftest on the specified ethernet device. Possible test modes are:
+Executes adapter selftest on the specified network device. Possible test modes are:
.TP
.A1 offline online
defines test type:
@@ -473,7 +474,7 @@ defines test type:
means to perform limited set of tests do not interrupting normal adapter operation.
.TP
.B \-s \-\-change
-Allows changing some or all settings of the specified ethernet device.
+Allows changing some or all settings of the specified network device.
All following options only apply if
.B \-s
was specified.
@@ -799,7 +800,7 @@ Specifies the Rx queue to send packets to, or some other action.
.PD
.RE
.SH BUGS
-Not supported (in part or whole) on all ethernet drivers.
+Not supported (in part or whole) on all network drivers.
.SH AUTHOR
.B ethtool
was written by David Miller.
--
1.7.3.4
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH ethtool 6/7] ethtool.8: Reword synopses for consistency and style
2011-01-12 16:21 [PATCH ethtool 0/7] Documentation fixes Ben Hutchings
` (4 preceding siblings ...)
2011-01-12 16:23 ` [PATCH ethtool 5/7] ethtool.8: Generalise references to network devices, not Ethernet Ben Hutchings
@ 2011-01-12 16:23 ` Ben Hutchings
2011-01-12 16:23 ` [PATCH ethtool 7/7] ethtool.8: Fix capitalisation Ben Hutchings
6 siblings, 0 replies; 8+ messages in thread
From: Ben Hutchings @ 2011-01-12 16:23 UTC (permalink / raw)
To: netdev; +Cc: linux-net-drivers
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
diff --git a/ethtool.8.in b/ethtool.8.in
index b7ba73e..203d33d 100644
--- a/ethtool.8.in
+++ b/ethtool.8.in
@@ -87,7 +87,7 @@
.TH ETHTOOL 8 "January 2011" "Ethtool version @VERSION@"
.SH NAME
-ethtool \- Display or change network driver and hardware settings
+ethtool \- query or control network driver and hardware settings
.SH SYNOPSIS
.B ethtool
.I ethX
@@ -322,8 +322,8 @@ ethtool \- Display or change network driver and hardware settings
.SH DESCRIPTION
.BI ethtool
-is used for querying and changing settings of a network device driver
-and hardware, particularly for wired Ethernet devices.
+is used to query and control network device driver and hardware
+settings, particularly for wired Ethernet devices.
.I ethX
is the name of the network device on which ethtool should operate.
--
1.7.3.4
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH ethtool 7/7] ethtool.8: Fix capitalisation
2011-01-12 16:21 [PATCH ethtool 0/7] Documentation fixes Ben Hutchings
` (5 preceding siblings ...)
2011-01-12 16:23 ` [PATCH ethtool 6/7] ethtool.8: Reword synopses for consistency and style Ben Hutchings
@ 2011-01-12 16:23 ` Ben Hutchings
6 siblings, 0 replies; 8+ messages in thread
From: Ben Hutchings @ 2011-01-12 16:23 UTC (permalink / raw)
To: netdev; +Cc: linux-net-drivers
Write 'Ethernet' and 'PHY' thus.
Use the proper macro for the trademark symbol.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
diff --git a/ethtool.8.in b/ethtool.8.in
index 203d33d..0ee91a0 100644
--- a/ethtool.8.in
+++ b/ethtool.8.in
@@ -337,10 +337,10 @@ settings of the specified device.
Shows a short help message.
.TP
.B \-a \-\-show\-pause
-Queries the specified ethernet device for pause parameter information.
+Queries the specified Ethernet device for pause parameter information.
.TP
.B \-A \-\-pause
-Changes the pause parameters of the specified ethernet device.
+Changes the pause parameters of the specified Ethernet device.
.TP
.A2 autoneg on off
Specifies whether pause autonegotiation should be enabled.
@@ -456,7 +456,7 @@ Length of time to perform phys-id, in seconds.
Queries the specified network device for permanent hardware address.
.TP
.B \-r \-\-negotiate
-Restarts auto-negotiation on the specified ethernet device, if
+Restarts auto-negotiation on the specified Ethernet device, if
auto-negotiation is enabled.
.TP
.B \-S \-\-statistics
@@ -535,7 +535,7 @@ this option is a string of characters specifying which options to enable.
.PD 0
.TP 3
.B p
-Wake on phy activity
+Wake on PHY activity
.TP 3
.B u
Wake on unicast messages
@@ -550,10 +550,10 @@ Wake on broadcast messages
Wake on ARP
.TP 3
.B g
-Wake on MagicPacket(tm)
+Wake on MagicPacket\[tm]
.TP 3
.B s
-Enable SecureOn(tm) password for MagicPacket(tm)
+Enable SecureOn\[tm] password for MagicPacket\[tm]
.TP 3
.B d
Disable (wake on nothing). This option clears all previous options.
@@ -561,8 +561,8 @@ Disable (wake on nothing). This option clears all previous options.
.RE
.TP
.B sopass \*(MA\c
-Sets the SecureOn(tm) password. The argument to this option must be 6
-bytes in ethernet MAC hex format (\*(MA).
+Sets the SecureOn\[tm] password. The argument to this option must be 6
+bytes in Ethernet MAC hex format (\*(MA).
.PP
.BI msglvl \ N
.br
--
1.7.3.4
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
^ permalink raw reply related [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-01-12 16:23 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-12 16:21 [PATCH ethtool 0/7] Documentation fixes Ben Hutchings
2011-01-12 16:22 ` [PATCH ethtool 1/7] ethtool: Fix spelling and spacing in online help Ben Hutchings
2011-01-12 16:22 ` [PATCH ethtool 2/7] ethtool.8: Update date, version, web site reference Ben Hutchings
2011-01-12 16:22 ` [PATCH ethtool 3/7] ethtool.8: Substitute version at configure time Ben Hutchings
2011-01-12 16:22 ` [PATCH ethtool 4/7] ethtool.8: Fix obvious spelling errors Ben Hutchings
2011-01-12 16:23 ` [PATCH ethtool 5/7] ethtool.8: Generalise references to network devices, not Ethernet Ben Hutchings
2011-01-12 16:23 ` [PATCH ethtool 6/7] ethtool.8: Reword synopses for consistency and style Ben Hutchings
2011-01-12 16:23 ` [PATCH ethtool 7/7] ethtool.8: Fix capitalisation Ben Hutchings
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).