Deleted Added
full compact
usb.h (331722) usb.h (359317)
1/* $FreeBSD: stable/11/sys/dev/usb/usb.h 331722 2018-03-29 02:50:57Z eadler $ */
1/* $FreeBSD: stable/11/sys/dev/usb/usb.h 359317 2020-03-26 05:37:50Z hselasky $ */
2/*-
3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved.
4 * Copyright (c) 1998 The NetBSD Foundation, Inc. All rights reserved.
5 * Copyright (c) 1998 Lennart Augustsson. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:

--- 257 unchanged lines hidden (view full) ---

267#define UHF_PORT_U2_TIMEOUT 24
268#define UHF_C_PORT_LINK_STATE 25
269#define UHF_C_PORT_CONFIG_ERROR 26
270#define UHF_PORT_REMOTE_WAKE_MASK 27
271#define UHF_BH_PORT_RESET 28
272#define UHF_C_BH_PORT_RESET 29
273#define UHF_FORCE_LINKPM_ACCEPT 30
274
2/*-
3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved.
4 * Copyright (c) 1998 The NetBSD Foundation, Inc. All rights reserved.
5 * Copyright (c) 1998 Lennart Augustsson. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:

--- 257 unchanged lines hidden (view full) ---

267#define UHF_PORT_U2_TIMEOUT 24
268#define UHF_C_PORT_LINK_STATE 25
269#define UHF_C_PORT_CONFIG_ERROR 26
270#define UHF_PORT_REMOTE_WAKE_MASK 27
271#define UHF_BH_PORT_RESET 28
272#define UHF_C_BH_PORT_RESET 29
273#define UHF_FORCE_LINKPM_ACCEPT 30
274
275/* SuperSpeed suspend support */
276#define USB_INTERFACE_FUNC_SUSPEND 0
277#define USB_INTERFACE_FUNC_SUSPEND_LP (1 << 8)
278#define USB_INTERFACE_FUNC_SUSPEND_RW (1 << 9)
279
275struct usb_descriptor {
276 uByte bLength;
277 uByte bDescriptorType;
278 uByte bDescriptorSubtype;
279} __packed;
280typedef struct usb_descriptor usb_descriptor_t;
281
282struct usb_device_descriptor {

--- 519 unchanged lines hidden ---
280struct usb_descriptor {
281 uByte bLength;
282 uByte bDescriptorType;
283 uByte bDescriptorSubtype;
284} __packed;
285typedef struct usb_descriptor usb_descriptor_t;
286
287struct usb_device_descriptor {

--- 519 unchanged lines hidden ---