summaryrefslogtreecommitdiff
path: root/biosdevname.1
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2012-03-02 16:46:39 -0800
committerStephen Hemminger <shemminger@vyatta.com>2012-03-03 09:56:10 -0800
commit6f0d227c17e898f5c1a0e015bd3275f56ae23a19 (patch)
tree9f40b2f18710e1fee144cc9cff686e18fe6a47cb /biosdevname.1
parentd86431f9a431288b3b9d0bed26303a13cc1875b5 (diff)
downloadvyatta-biosdevname-6f0d227c17e898f5c1a0e015bd3275f56ae23a19.tar.gz
vyatta-biosdevname-6f0d227c17e898f5c1a0e015bd3275f56ae23a19.zip
Update to biosdevname 0.3.11
Manual merge from http://linux.dell.com/biosdevname/biosdevname-0.3.11/ (cherry picked from commit 79066f1bdcb77fa8cfca2d98464257e1e436b58d)
Diffstat (limited to 'biosdevname.1')
-rw-r--r--biosdevname.131
1 files changed, 29 insertions, 2 deletions
diff --git a/biosdevname.1 b/biosdevname.1
index fd0f99b..8bfd8ca 100644
--- a/biosdevname.1
+++ b/biosdevname.1
@@ -35,6 +35,13 @@ Enable debugging
.TP
.B \-\-prefix \fI[string]
string use for embedded NICs in the physical policy (default=em)
+.TP
+.B \-\-nopirq
+Do not use $PIR table for mapping PCI device to slot. Some BIOS have
+incorrect values.
+.TP
+.B \-\-smbios \fI[x.y]
+Require minimum SMBIOS version x.y
.SH POLICIES
.br
The
@@ -50,7 +57,7 @@ policy uses the following scheme:
em<port>
for embedded NICs
.TP
-pci<slot>#<port>_<virtual instance>
+p<slot>#<port>_<virtual instance>
for cards in PCI slots
.br
.TP
@@ -69,7 +76,7 @@ different PCI tree, and thus cannot provide consistent enumeration.
Use of this policy should be limited to only scenarios where all PCI
devices are present at boot (cold-plug).
-.SH RETURN CODES
+.SH EXIT CODES
Returns 0 on success, with BIOS-suggested name printed to stdout.
.br
Returns 1 on provided device name lookup failure.
@@ -77,10 +84,30 @@ Returns 1 on provided device name lookup failure.
Returns 2 if system BIOS does not provide naming information.
biosdevname requires system BIOS to provide naming information, either
via SMBIOS or sysfs files.
+.br
+Returns 3 if not run as root but requires root privileges.
+.br
+Returns 4 if running in a virtual machine.
.SH SEE ALSO
.br
+http://linux.dell.com/wiki/index.php/Oss/libnetdevname
+.br
http://linux.dell.com/files/biosdevname/
+.br
+git://linux.dell.com/biosdevname.git
+
+.SH RELATED PROGRAMS
+.br
+The
+.B dmidecode
+package contains two tools useful for debugging BIOS features that
+biosdevname uses, specifically
+.B dmidecode
+to read the SMBIOS Type 9 and Type 41 tables, and
+.B biosdecode
+to read the PCI IRQ Routing Table. Please include the output of each
+of these programs in any bug reports.
.SH AUTHOR
biosdevname was written by Matt Domsch <Matt_Domsch@dell.com>
.PP