summaryrefslogtreecommitdiff
path: root/sys/man/3
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@localhost>2011-08-26 05:24:55 +0200
committercinap_lenrek <cinap_lenrek@localhost>2011-08-26 05:24:55 +0200
commit1404cc50772688f05ab65a9eb2d5c8d4b85b0375 (patch)
tree010400734c4ba7998362bfdacc585842b8deca97 /sys/man/3
parenta6e3c9fd83e72e5c911e83f763e77ab6605a17d2 (diff)
nusb: fix documentation, cleanup, remove /sys/src/cmd/usb
Diffstat (limited to 'sys/man/3')
-rw-r--r--sys/man/3/audio2
-rw-r--r--sys/man/3/usb13
2 files changed, 7 insertions, 8 deletions
diff --git a/sys/man/3/audio b/sys/man/3/audio
index e95608c83..520cbcec6 100644
--- a/sys/man/3/audio
+++ b/sys/man/3/audio
@@ -126,4 +126,4 @@ Defaults to 44100.
.SH SOURCE
.B /sys/src/9/port/devaudio.c
.SH SEE ALSO
-.IR usb (4)
+.IR nusb (4)
diff --git a/sys/man/3/usb b/sys/man/3/usb
index a79132ba0..c69129c1c 100644
--- a/sys/man/3/usb
+++ b/sys/man/3/usb
@@ -58,7 +58,7 @@ Specialization continues as subclasses and subsubclasses are explored.
.PP
Enumeration of the bus and initial configuration of devices is done
by a user level program,
-.IR usbd (4).
+.IR usbd .
Device drivers are implemented by separate user programs, although
some of them may be statically linked into
.IR usbd .
@@ -115,7 +115,7 @@ After configuring a device, other endpoints may be created
as dictated by the device to perform actual I/O.
.SS Operation
Bus enumeration and device configuration is performed by
-.IR usbd (4)
+.IR usbd
and not by this driver.
The driver provides an interface
to access existing endpoints (initially those for the built-in root hubs),
@@ -130,7 +130,7 @@ is a number identifying a device and
is a number identifying one of its endpoints.
.PP
For each device attached to the bus, and configured by
-.IR usbd (4),
+.IR usbd ,
an endpoint zero (a
.I setup
endpoint)
@@ -212,7 +212,7 @@ storage csp 0x500608 vid 0x951 did 0x1613 Kingston 'DT 101 II'
.LP
The first line contains status information.
The rest is information supplied by
-.IR usbd (4)
+.IR usbd
as an aid to locate devices.
The status information includes:
.TF "\fREndpoint mode
@@ -346,7 +346,7 @@ USB class, subclass and proto codes can be found at
Endpoint control files accept the following requests.
In most cases
the driver does not issue them, leaving the task to either
-.IR usbd (4)
+.IR usbd
or the usb driver library documented in
.IR usb (2).
.TF "\fLsamplehz\fI n
@@ -522,8 +522,7 @@ root of the USB interface
.B /sys/src/9/pc/usb?hci.c
.SH "SEE ALSO"
.IR usb (2),
-.IR usb (4),
-.IR usbd (4),
+.IR nusb (4),
.IR plan9.ini (8)
.SH BUGS
USB controllers limit the speed of all their ports