PERFORCE change 1190165 for review
John Baldwin
jhb at FreeBSD.org
Sun Jan 19 19:56:10 UTC 2014
http://p4web.freebsd.org/@@1190165?ac=10
Change 1190165 by jhb at jhb_pippin on 2014/01/19 19:55:43
Update usage and some confusing language in the manpage for
the 'device as selector' changes.
Affected files ...
.. //depot/projects/pci/usr.sbin/pciconf/pciconf.8#4 edit
.. //depot/projects/pci/usr.sbin/pciconf/pciconf.c#4 edit
Differences ...
==== //depot/projects/pci/usr.sbin/pciconf/pciconf.8#4 (text+ko) ====
@@ -67,13 +67,13 @@
.Ed
.Pp
The first column gives the
-device name, unit number, and selector .
-If there is no device configured in the kernel for the
+driver name, unit number, and selector .
+If there is no driver attached to the
.Tn PCI
-device in question, the device name will be
+device in question, the driver name will be
.Dq none .
-Unit numbers for unconfigured devices start at zero and are incremented for
-each unconfigured device that is encountered.
+Unit numbers for detached devices start at zero and are incremented for
+each detached device that is encountered.
The selector
is in a form which may directly be used for the other forms of the command.
The second column is the class code, with the class byte printed as two
==== //depot/projects/pci/usr.sbin/pciconf/pciconf.c#4 (text+ko) ====
@@ -87,10 +87,10 @@
usage(void)
{
fprintf(stderr, "%s\n%s\n%s\n%s\n",
- "usage: pciconf -l [-bcevV] [selector]",
- " pciconf -a selector",
- " pciconf -r [-b | -h] selector addr[:addr2]",
- " pciconf -w [-b | -h] selector addr value");
+ "usage: pciconf -l [-bcevV] [device]",
+ " pciconf -a device",
+ " pciconf -r [-b | -h] device addr[:addr2]",
+ " pciconf -w [-b | -h] device addr value");
exit (1);
}
@@ -734,8 +734,8 @@
{
/*
- * No device names contain colons and raw selectors always
- * contain at least one colon.
+ * No device names contain colons and selectors always contain
+ * at least one colon.
*/
if (strchr(str, ':') == NULL)
return (getdevice(str));
More information about the p4-projects
mailing list