Various minor cleanups.

This commit is contained in:
Christian Brueffer 2016-11-16 13:22:57 +00:00
parent b1895f7270
commit 443788c267
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=308728

View File

@ -25,7 +25,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd May 12, 2016 .Dd November 16, 2016
.Dt BNXT 4 .Dt BNXT 4
.Os .Os
.Sh NAME .Sh NAME
@ -89,7 +89,7 @@ Broadcom BCM57304 NetXtreme-C Virtual Function
Broadcom BCM57404 NetXtreme-E Virtual Function Broadcom BCM57404 NetXtreme-E Virtual Function
.El .El
.Sh SYSCTL VARIABLES .Sh SYSCTL VARIABLES
These variables must be set before loading the driver, either via These variables must be set before loading the driver, either via
.Xr loader.conf 5 .Xr loader.conf 5
or through the use of or through the use of
.Xr kenv 1 . .Xr kenv 1 .
@ -165,11 +165,12 @@ variables are read-only:
.Bl -tag -width indent .Bl -tag -width indent
.It Va dev.bnxt.X.if_name .It Va dev.bnxt.X.if_name
Current interface name of the device. Current interface name of the device.
This will normally be This will normally be
.Va bnxtX , .Va bnxtX ,
but this can be changed using but this can be changed using
.Cm ifconfig name . .Cm ifconfig name .
This sysctl allows correlating an interface with a child of dev.bnxt. This sysctl allows correlating an interface with a child of
.Va dev.bnxt .
.It Va dev.bnxt.X.nvram.* .It Va dev.bnxt.X.nvram.*
Information about the NVRAM device which contains the device firmware. Information about the NVRAM device which contains the device firmware.
.It Va dev.bnxt.X.ver.* .It Va dev.bnxt.X.ver.*
@ -191,10 +192,10 @@ reasons to ignore Ethernet frames.
.It "bnxt%d: %s command returned %s error." .It "bnxt%d: %s command returned %s error."
Device firmware rejected a command from the driver. Device firmware rejected a command from the driver.
There might be a driver/firmware HWRM API mismatch. There might be a driver/firmware HWRM API mismatch.
.It "bnxt%d: Timeout sending %s (timeout: %d) seq %d\n" .It "bnxt%d: Timeout sending %s (timeout: %d) seq %d"
Device firmware unresponsive. Device firmware unresponsive.
A PCI device reset is likely needed. A PCI device reset is likely needed.
.It "bnxt%d: Timeout sending %s (timeout: %d) msg {0x%x 0x%x} len:%d v: %d\n" .It "bnxt%d: Timeout sending %s (timeout: %d) msg {0x%x 0x%x} len:%d v: %d"
Partial firmware response. Partial firmware response.
A PCI device reset is likely needed. A PCI device reset is likely needed.
.Pp .Pp
@ -203,20 +204,21 @@ As of this writing, the system must be rebooted to initiate a PCI device reset.
.Sh SEE ALSO .Sh SEE ALSO
.Xr altq 4 , .Xr altq 4 ,
.Xr arp 4 , .Xr arp 4 ,
.Xr iflib 4 ,
.Xr netintro 4 , .Xr netintro 4 ,
.Xr ng_ether 4 , .Xr ng_ether 4 ,
.Xr vlan 4 , .Xr vlan 4 ,
.Xr ifconfig 8 , .Xr ifconfig 8
.Xr iflib 4
.Sh HISTORY .Sh HISTORY
The The
.Nm .Nm
device driver first appeared in device driver first appeared in
.Fx 12.0 . .Fx 12.0 .
.Sh AUTHORS .Sh AUTHORS
.An -nosplit
The The
.Nm .Nm
driver was written by driver was written by
.An Jack Vogel Aq Mt jfvogel@gmail.com . .An Jack Vogel Aq Mt jfvogel@gmail.com ,
and is currently maintained by and is currently maintained by
.An Stephen Hurd Aq Mt stephen.hurd@broadcom.com . .An Stephen Hurd Aq Mt stephen.hurd@broadcom.com .