Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man4 Minor editorial fixes.
details: https://anonhg.NetBSD.org/src/rev/926dd6fa2eda
branches: trunk
changeset: 484911:926dd6fa2eda
user: augustss <augustss%NetBSD.org@localhost>
date: Fri Apr 14 14:55:46 2000 +0000
description:
Minor editorial fixes.
diffstat:
share/man/man4/ugen.4 | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (30 lines):
diff -r fcab72107fbc -r 926dd6fa2eda share/man/man4/ugen.4
--- a/share/man/man4/ugen.4 Fri Apr 14 14:55:18 2000 +0000
+++ b/share/man/man4/ugen.4 Fri Apr 14 14:55:46 2000 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: ugen.4,v 1.10 1999/12/23 09:23:48 augustss Exp $
+.\" $NetBSD: ugen.4,v 1.11 2000/04/14 14:55:46 augustss Exp $
.\"
.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -228,11 +228,20 @@
The
.Dv addr
field is ignored in this call.
+The
+.Dv flags
+field can be used to flag that the request is allowed to
+be shorter than the requested size, and the
+.Dv actlen
+will contain the actual size on completion.
.Bd -literal
struct usb_ctl_request {
int addr;
usb_device_request_t request;
void *data;
+ int flags;
+#define USBD_SHORT_XFER_OK 0x04 /* allow short reads */
+ int actlen; /* actual length transferred */
};
.Ed
This is a dangerous operation in that it can perform arbitrary operations
Home |
Main Index |
Thread Index |
Old Index