#
71625ec9 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: 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
|
#
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 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
|
#
d008c0d7 |
|
23-May-2018 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Centralize USB device mode bus power reporting, and add hw.usb.template_power sysctl to control it. Reviewed by: hselasky@ (earlier version) MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
|
#
defd918d |
|
22-May-2018 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Add new PIDs for Audio, CDCE, MTP, and Mass Storage, from https://github.com/obdev/v-usb/blob/master/usbdrv/USB-IDs-for-free.txt. Big thanks to Christian Starkjohann for allocating those. MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
|
#
d01c1c8b |
|
21-May-2018 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Use USB Vendor Identifiers and Product Identifiers provided by V-USB (https://github.com/obdev/v-usb/blob/master/usbdrv/USB-IDs-for-free.txt). Previously we were using an invalid (not assigned to us) VID. Reviewed by: hselasky@ MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
|
#
1558eec6 |
|
19-May-2018 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Add #defines for vendor/product USB IDs. No functional changes. MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
|
#
c70e38e4 |
|
07-Feb-2018 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Give USB template SYSUNINIT()'s a uniq name to avoid symbol name collision when building stand/usb. Regression after r328194. MFC after: 1 week Sponsored by: Mellanox Technologies
|
#
8e06491a |
|
20-Jan-2018 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Add sysctls to control device side USB identifiers. This makes it possible to change string and numeric vendor and product identifiers, as well as anything else there might be to change for a particular device side template, eg the MAC address. Reviewed by: hselasky@ MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D13920
|
#
718cf2cc |
|
27-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
sys/dev: further adoption of SPDX licensing ID tags. Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified 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.
|
#
5a92ac1d |
|
29-Jul-2016 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Fix MTP description in the comment. MFC after: 1 month
|
#
b51875c9 |
|
30-Jan-2013 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Use string literals in string descriptors for marginally better readability. Submitted by: Christoph Mallon
|
#
23ab0871 |
|
30-Jan-2013 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Provide one global language string descriptor for american english instead of giving each module its own. Submitted by: Christoph Mallon
|
#
d2b99310 |
|
30-Jan-2013 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Modify the FreeBSD USB kernel code so that it can be compiled directly into the FreeBSD boot loader, typically for non-USB aware BIOSes, EFI systems or embedded platforms. This is also useful for out of the system compilation of the FreeBSD USB stack for various purposes. The USB kernel files can now optionally include a global header file which should include all needed definitions required to compile the FreeBSD USB stack. When the global USB header file is included, no other USB header files will be included by default. Add new file containing the USB stack configuration for the FreeBSD loader build. Replace some __FBSDID()'s by /* $FreeBSD$ */ comments. Now all USB files follow the same style. Use cases: - console in loader via USB - loading kernel via USB Discussed with: Hiroki Sato, hrs @ EuroBSDCon
|
#
399e6543 |
|
23-Jun-2011 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
- Add more USB templates for various USB device classes - Add basic template support for USB 3.0 - Export definition of template sysctl numbers through usb_ioctl.h MFC after: 7 days
|
#
58ccf5b4 |
|
11-Jan-2011 |
John Baldwin <jhb@FreeBSD.org> |
Remove unneeded includes of <sys/linker_set.h>. Other headers that use it internally contain nested includes. Reviewed by: bde
|
#
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.
|
#
18fef95d |
|
06-Apr-2010 |
Andrew Thompson <thompsa@FreeBSD.org> |
MFC r205030 - make the usb_temp_setup() and usb_temp_unsetup() functions public so that other modules can generate USB descriptors. - extend the vendor specific request function by one length pointer argument, because not all descriptors store the length in the first byte. For example HID descriptors. Submitted by: Hans Petter Selasky
|
#
9a8e0122 |
|
11-Mar-2010 |
Andrew Thompson <thompsa@FreeBSD.org> |
- make the usb_temp_setup() and usb_temp_unsetup() functions public so that other modules can generate USB descriptors. - extend the vendor specific request function by one length pointer argument, because not all descriptors store the length in the first byte. For example HID descriptors. Submitted by: Hans Petter Selasky
|
#
ed6d949a |
|
22-Jun-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
- Make struct usb_xfer opaque so that drivers can not access the internals - Reduce the number of headers needed for a usb driver, the common case is just usb.h and usbdi.h
|
#
a593f6b8 |
|
14-Jun-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
s/usb2_/usb_|usbd_/ on all function names for the USB stack.
|
#
760bc48e |
|
28-May-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
s/usb2_/usb_/ on all C structs for the USB stack.
|
#
5d38a4d4 |
|
24-Feb-2009 |
Ed Schouten <ed@FreeBSD.org> |
Also use proper capitalisation of FreeBSD in other source files. Approved by: thompsa
|
#
02ac6454 |
|
23-Feb-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
Move the new USB stack into its new home.
|