History log of /freebsd-current/lib/libusb/libusb20_int.h
Revision Date Author Comments
# 2a63c3be 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c comment pattern

Remove /^/[*/]\s*\$FreeBSD\$.*\n/


# 4d846d26 10-May-2023 Warner Losh <imp@FreeBSD.org>

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD 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


# 8010f4ad 17-Dec-2021 Brooks Davis <brooks@FreeBSD.org>

libusb: remove use of COMPAT_32BIT

This codepath used uint64_t's in place of pointers in structs and
arrays to allow 32-bit code to use 64-bit version of ioctls. Now
that we support 32-bit compat natively this is no longer needed.

Reviewed by: hselasky, jrtc27 (prior version)


# 34b0ca24 27-Dec-2019 Hans Petter Selasky <hselasky@FreeBSD.org>

Implement new libusb v2.0 API function, libusb20_dev_get_stats().

This function is useful when debugging USB device issues.

MFC after: 1 week
Sponsored by: Mellanox Technologies


# fd2ef04f 23-Mar-2018 Hans Petter Selasky <hselasky@FreeBSD.org>

Allow the libusb20_dev_get_port_path() function to be called when the
USB device is closed. This fixes a compatibility issue with upstream
libusb.

Found by: romain@
MFC after: 1 week


# 5e53a4f9 25-Nov-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

lib: further adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 2-Clause license, however the tool I
was using mis-identified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.


# 5b40d960 16-Jun-2016 Hans Petter Selasky <hselasky@FreeBSD.org>

Add support for libusb_set_auto_detach_kernel_driver() to the LibUSB v1.0 API.

Approved by: re (kostikbel)
Requested by: swills
MFC after: 1 week


# c77a24c2 03-May-2013 Hans Petter Selasky <hselasky@FreeBSD.org>

Add new USB API to get the port path of a USB device.

MFC after: 2 weeks
Requested by: emaste @


# aafcb732 13-Feb-2013 Hans Petter Selasky <hselasky@FreeBSD.org>

Add USB API to read power draw on USB devices.
Update usbconfig to print power draw on USB devices.

MFC after: 2 weeks
Submitted by: Matt Burke @ icritical.com


# 07b6ce3b 13-Aug-2012 Hans Petter Selasky <hselasky@FreeBSD.org>

Add support for streams to LibUSB v2.0.

MFC after: 2 weeks


# 2485d8a7 24-Jun-2011 Hans Petter Selasky <hselasky@FreeBSD.org>

- Add two new API's to libusb20 which can be used to retrive information
about the parent USB device:
- libusb20_dev_get_parent_address
- libusb20_dev_get_parent_port

- Rename libusb20_compat01.c into libusb01.c

MFC after: 3 days


# 1c497368 28-Feb-2011 Hans Petter Selasky <hselasky@FreeBSD.org>

- Add support for software pre-scaling of ISOCHRONOUS transfers.

MFC after: 14 days
Approved by: thompsa (mentor)


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# 51fd3d75 14-Oct-2010 Hans Petter Selasky <hselasky@FreeBSD.org>

- Add support for LibUSB in 32-bit compatibility mode.

Approved by: thompsa (mentor)


# 6836afc4 06-Apr-2010 Andrew Thompson <thompsa@FreeBSD.org>

MFC r203147

Add a function to check if the usb devices is still connected.

Submitted by: Hans Petter Selasky


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# e50ac68b 28-Jan-2010 Andrew Thompson <thompsa@FreeBSD.org>

Add a function to check if the usb devices is still connected.

Submitted by: Hans Petter Selasky


# 390065b1 29-Jul-2009 Alfred Perlstein <alfred@FreeBSD.org>

LibUSB v1.0:

- Significantly improve libusb10 support.
- Many minor issues fixed.
- P4 ID: 166189, 165853, 165991, 166052, 166069

Submitted by: hps
Approved by: re


# 4315b3c9 12-Jun-2009 Andrew Thompson <thompsa@FreeBSD.org>

Cleanup claim/release interface code, which is specific to libusb v0.1. Remove
claim and release interface support from libusb v2.0, because it is not useful.

Submitted by: Hans Petter Selasky


# 760bc48e 28-May-2009 Andrew Thompson <thompsa@FreeBSD.org>

s/usb2_/usb_/ on all C structs for the USB stack.


# df4b8c2a 09-Mar-2009 Andrew Thompson <thompsa@FreeBSD.org>

libusb20 is now installed as libusb, remove the version number from the
directory name.