Revision tags: release/14.0.0 |
|
#
71625ec9 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line .c comment pattern
Remove /^/[*/]\s*\$FreeBSD\$.*\n/
|
#
b61a5730 |
| 10-May-2023 |
Warner Losh <imp@FreeBSD.org> |
spdx: The BSD-2-Clause-NetBSD identifier is obsolete, drop -NetBSD
The SPDX folks have obsoleted the BSD-2-Clause-NetBSD identifier. Catch up to that fact and revert to their recommended match of BS
spdx: The BSD-2-Clause-NetBSD identifier is obsolete, drop -NetBSD
The SPDX folks have obsoleted the BSD-2-Clause-NetBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
show more ...
|
Revision tags: release/13.2.0, release/12.4.0 |
|
#
8f892e9b |
| 14-Jun-2022 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
XHCI: clear warm and port reset
It seems we do not clear UPS_C_BH_PORT_RESET and UPS_C_PORT_RESET conditions after warm or port reset. Add that code.
Obtained from: an old patch mainly debugging o
XHCI: clear warm and port reset
It seems we do not clear UPS_C_BH_PORT_RESET and UPS_C_PORT_RESET conditions after warm or port reset. Add that code.
Obtained from: an old patch mainly debugging other problems MFC after: 2 weeks Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D35483
show more ...
|
Revision tags: release/13.1.0 |
|
#
bc9372d7 |
| 07-May-2022 |
John Baldwin <jhb@FreeBSD.org> |
usb: Remove unused devclass arguments to DRIVER_MODULE.
|
#
6bce8a35 |
| 17-Mar-2022 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
usb(4): Check return value from bus_generic_get_device_path().
MFC after: 1 week Sponsored by: NVIDIA Networking
|
#
5e203517 |
| 17-Mar-2022 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
usb(4): Use the global BUS topology lock where appropriate.
MFC after: 1 week Sponsored by: NVIDIA Networking
|
#
c7cd6f80 |
| 08-Mar-2022 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
usb(4): Don't skip calling uhub_explore_sub() even on HUB port errors.
This should fix an issue where the "udev->re_enumerate_wait" field never gets processed and reset. In this case usbconfig will
usb(4): Don't skip calling uhub_explore_sub() even on HUB port errors.
This should fix an issue where the "udev->re_enumerate_wait" field never gets processed and reset. In this case usbconfig will wait forever and never return.
MFC after: 1 week Sponsored by: NVIDIA Networking
show more ...
|
#
9c750429 |
| 28-Feb-2022 |
Warner Losh <imp@FreeBSD.org> |
Add USB UEFI locator support
Sponsored by: Netflix Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D32788
|
#
a88e1a04 |
| 02-Feb-2022 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
usb(4): Ignore port resume failures.
If port resume fails, likely the USB device is detached. Ignore such errors, because else the USB stack might try forever trying to resume the device, before it
usb(4): Ignore port resume failures.
If port resume fails, likely the USB device is detached. Ignore such errors, because else the USB stack might try forever trying to resume the device, before it will proceed detaching it.
MFC after: 1 week Sponsored by: NVIDIA Networking
show more ...
|
Revision tags: release/12.3.0 |
|
#
ddfc9c4c |
| 23-Jun-2021 |
Warner Losh <imp@FreeBSD.org> |
newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf
Now that the upper layers all go through a layer to tie into these information functions that translates
newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf
Now that the upper layers all go through a layer to tie into these information functions that translates an sbuf into char * and len. The current interface suffers issues of what to do in cases of truncation, etc. Instead, migrate all these functions to using struct sbuf and these issues go away. The caller is also in charge of any memory allocation and/or expansion that's needed during this process.
Create a bus_generic_child_{pnpinfo,location} and make it default. It just returns success. This is for those busses that have no information for these items. Migrate the now-empty routines to using this as appropriate.
Document these new interfaces with man pages, and oversight from before.
Reviewed by: jhb, bcr Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D29937
show more ...
|
#
5c447fe6 |
| 03-Jun-2021 |
Maksym Stetsyuk <maxsteciuk@gmail.com> |
usb: reduce verbosity of logging about unsuccessful port reset
Reviewed by: imp@,hselasny@ Pull Request: https://github.com/freebsd/freebsd-src/pull/385 Differential Revision: https://reviews.free
usb: reduce verbosity of logging about unsuccessful port reset
Reviewed by: imp@,hselasny@ Pull Request: https://github.com/freebsd/freebsd-src/pull/385 Differential Revision: https://reviews.freebsd.org/D30621
show more ...
|
#
e5ff940a |
| 18-May-2021 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Propagate down USB explore error codes, so that failures to enumerate USB HUBs behind USB HUBs are detected and the USB reset counter logic will kick in preventing enumeration of continuously failing
Propagate down USB explore error codes, so that failures to enumerate USB HUBs behind USB HUBs are detected and the USB reset counter logic will kick in preventing enumeration of continuously failing ports.
Submitted by: phk@ Tested by: bz@ PR: 237666 MFC after: 1 week Sponsored by: Mellanox Technologies // NVIDIA Networking
show more ...
|
Revision tags: release/13.0.0 |
|
#
4c7458fa |
| 10-Nov-2020 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
usb_hub: fix whitespace
Fix a whitespace "error" introduced in r367435 noticed when preparing the MFC. No functional changes.
|
#
2144eb75 |
| 06-Nov-2020 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
usb_hub: giving up port reset - device vanished
Improve the output of the recently often experienced debug message in order to gather further data.
PR: 237666 Reviewed by: hselasky MFC after: 3 da
usb_hub: giving up port reset - device vanished
Improve the output of the recently often experienced debug message in order to gather further data.
PR: 237666 Reviewed by: hselasky MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D27108
show more ...
|
Revision tags: release/12.2.0 |
|
#
9dd3156e |
| 01-Sep-2020 |
Mateusz Guzik <mjg@FreeBSD.org> |
usb: clean up empty lines in .c and .h files
|
Revision tags: release/11.4.0 |
|
#
f54ab96d |
| 11-May-2020 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Refresh the USB device strings when a USB device is re-enumerated.
Submitted by: Horse Ma <Shichun.Ma@dell.com> MFC after: 1 week Sponsored by: Mellanox Technologies
|
#
d76ca5b1 |
| 19-Mar-2020 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Correctly implement support for remote wakeup for USB 3.0 device.
Submitted by: Horse Ma <Shichun.Ma@dell.com> MFC after: 1 week Sponsored by: Mellanox Technologies
|
#
16b90565 |
| 10-Mar-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r358731 through r358831.
|
#
601ee538 |
| 08-Mar-2020 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Remove the power bit from the super speed root hub port status register because it clobbers the super speed link status when a device is in super speed mode. Currently the power bit is not needed for
Remove the power bit from the super speed root hub port status register because it clobbers the super speed link status when a device is in super speed mode. Currently the power bit is not needed for anything in the USB hub driver.
This fixes USB warm reset for super speed devices.
Tested by: Shichun.Ma@dell.com MFC after: 3 days Sponsored by: Mellanox Technologies
show more ...
|
#
b33a8b38 |
| 16-Feb-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r357966 through r357999.
|
#
f8d2b1f3 |
| 15-Feb-2020 |
Pawel Biernacki <kaktus@FreeBSD.org> |
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (2 of many)
r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or already are but aren’t properly marke
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (2 of many)
r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or already are but aren’t properly marked). Use it in preparation for a general review of all nodes. This is non-functional change that adds annotations to SYSCTL_NODE and SYSCTL_PROC nodes using one of the soon-to-be-required flags.
Reviewed by: hselasky, kib Approved by: kib (mentor) Differential Revision: https://reviews.freebsd.org/D23632
show more ...
|
Revision tags: release/12.1.0, release/11.3.0 |
|
#
e532a999 |
| 20-Jun-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @349234
Sponsored by: The FreeBSD Foundation
|
#
e68fcc88 |
| 18-Jun-2019 |
Takanori Watanabe <takawata@FreeBSD.org> |
Add ACPI support for USB driver. This adds ACPI device path on devinfo(8) output and show value of _UPC(usb port capabilities), _PLD (physical location of device) when hw.usb.debug >= 1 .
Reviewed
Add ACPI support for USB driver. This adds ACPI device path on devinfo(8) output and show value of _UPC(usb port capabilities), _PLD (physical location of device) when hw.usb.debug >= 1 .
Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D20630
show more ...
|
#
4604b6a1 |
| 04-Jan-2019 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Reduce timeout for reading the USB HUB port status to 1000ms and try to filter out dead USB HUB devices by implementing an error counter, so that the USB enumeration thread does not spend all its tim
Reduce timeout for reading the USB HUB port status to 1000ms and try to filter out dead USB HUB devices by implementing an error counter, so that the USB enumeration thread does not spend all its time reading from non-responding devices, blocking user-space access in the end.
Tested by: Matthias Apitz <guru@unixarea.de> MFC after: 1 week Sponsored by: Mellanox Technologies
show more ...
|
Revision tags: release/12.0.0, release/11.2.0 |
|
#
171164e5 |
| 17-Feb-2018 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Revert redundant parts of r329440 after recent devmatch(8) changes.
Sponsored by: Mellanox Technologies
|