diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2021-03-13 16:41:48 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2021-03-13 16:41:48 +0000 |
commit | c3d8aae5c8ef8a88ead58cda56d82666239851f9 (patch) | |
tree | 3898962b97c8f1e44a48ea6bc084442a3134bc1c /share/man | |
parent | 57fde92962452e88ef72372bf488a65131832ab8 (diff) |
sync usb_device_info with usb.h, spotted by Enrik Berkhan, and millert@
noticed another change
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man4/usb.4 | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/share/man/man4/usb.4 b/share/man/man4/usb.4 index 5f9d5fd0c70..c138eaa47a3 100644 --- a/share/man/man4/usb.4 +++ b/share/man/man4/usb.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: usb.4,v 1.205 2021/02/04 16:25:38 anton Exp $ +.\" $OpenBSD: usb.4,v 1.206 2021/03/13 16:41:47 sthen Exp $ .\" $NetBSD: usb.4,v 1.15 1999/07/29 14:20:32 augustss Exp $ .\" .\" Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -28,7 +28,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: February 4 2021 $ +.Dd $Mdocdate: March 13 2021 $ .Dt USB 4 .Os .Sh NAME @@ -431,18 +431,16 @@ struct usb_device_info { u_int8_t udi_protocol; u_int8_t udi_config; u_int8_t udi_speed; -#define USB_SPEED_LOW 1 -#define USB_SPEED_FULL 2 -#define USB_SPEED_HIGH 3 +#define USB_SPEED_LOW 1 +#define USB_SPEED_FULL 2 +#define USB_SPEED_HIGH 3 +#define USB_SPEED_SUPER 4 + u_int8_t udi_port; int udi_power; /* power consumption */ int udi_nports; char udi_devnames[USB_MAX_DEVNAMES] [USB_MAX_DEVNAMELEN]; - u_int8_t udi_ports[16]; /* hub only */ -#define USB_PORT_ENABLED 0xff -#define USB_PORT_SUSPENDED 0xfe -#define USB_PORT_POWERED 0xfd -#define USB_PORT_DISABLED 0xfc + u_int32_t udi_ports[16]; /* hub only */ char udi_serial[USB_MAX_STRING_LEN]; }; .Ed |