Clarify that USB bus power consumption is measured in mA at 5V.

MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Edward Tomasz Napierala 2018-05-24 18:02:02 +00:00
parent 5328b11c95
commit 6ad033c2f1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334173
2 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd May 23, 2018
.Dd May 24, 2018
.Dt USB_TEMPLATE 4
.Os
.
@ -101,7 +101,7 @@ tunables:
Currently selected template.
Set to -1 to make the device disappear from the USB host point of view.
.It Va hw.usb.template_power
USB bus power consumption in mA.
USB bus power consumption in mA at 5V.
Must be between 0 and 500.
Setting to 0 marks the device as self-powered.
Defaults to 500mA.

View File

@ -120,7 +120,7 @@ SYSCTL_NODE(_hw_usb, OID_AUTO, templates, CTLFLAG_RW, 0,
SYSCTL_PROC(_hw_usb, OID_AUTO, template_power,
CTLTYPE_INT | CTLFLAG_RWTUN | CTLFLAG_MPSAFE,
NULL, 0, sysctl_hw_usb_template_power,
"I", "USB bus power consumption in mA");
"I", "USB bus power consumption in mA at 5V");
static int usb_template_power = 500; /* 500mA */