freebsd-dev/sys/dev/usb
Oleksandr Tymoshenko 217d17bcd3 Clean up OF_getprop_alloc API
OF_getprop_alloc takes element size argument and returns number of
elements in the property. There are valid use cases for such behavior
but mostly API consumers pass 1 as element size to get string
properties. What API users would expect from OF_getprop_alloc is to be
a combination of malloc + OF_getprop with the same semantic of return
value. This patch modifies API signature to match these expectations.

For the valid use cases with element size != 1 and to reduce
modification scope new OF_getprop_alloc_multi function has been
introduced that behaves the same way OF_getprop_alloc behaved prior to
this patch.

Reviewed by:	ian, manu
Differential Revision:	https://reviews.freebsd.org/D14850
2018-04-08 22:59:34 +00:00
..
controller Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
gadget sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
input Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
misc sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
net Fix race when detach is called right after attach in if_axge, that the 2018-02-24 08:44:51 +00:00
quirk Add new USB quirk. 2018-02-13 08:13:20 +00:00
serial Flag the first interface on a KTLINK FTDI-based jtag+uart device as being 2018-03-04 17:30:16 +00:00
storage Add SPDX identifiers to linux_ptrace.c and cfumass.c. 2018-01-24 17:04:01 +00:00
template Give USB template SYSUNINIT()'s a uniq name to avoid symbol name collision 2018-02-07 18:46:08 +00:00
video Fix device delete child function. 2016-10-17 10:20:38 +00:00
wlan urtw(4), zyd(4): reduce code verbosity. 2018-03-16 00:38:10 +00:00
ufm_ioctl.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
uftdiio.h
uled_ioctl.h
usb_bus.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_busdma.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_busdma.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_cdc.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_controller.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_core.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_core.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_debug.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_debug.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_dev.c Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
usb_dev.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_device.c Make the handler routine for the hw.usb.template sysctl trigger the USB 2018-01-30 10:08:11 +00:00
usb_device.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_dynamic.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_dynamic.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_endian.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_error.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_freebsd_loader.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_freebsd.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_generic.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_generic.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_handle_request.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_hid.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_hub.c Revert redundant parts of r329440 after recent devmatch(8) changes. 2018-02-17 12:38:46 +00:00
usb_hub.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_if.m
usb_ioctl.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_lookup.c Remove unused bus_autoconf section from usb.ko. 2018-02-17 14:44:03 +00:00
usb_mbuf.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_mbuf.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_msctest.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_msctest.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_parse.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_pci.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_pf.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-20 19:36:21 +00:00
usb_pf.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-20 19:36:21 +00:00
usb_process.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_process.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_request.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_request.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_transfer.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_transfer.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_util.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb_util.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usb.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usbdevs Add new USB quirk. 2018-02-13 08:13:20 +00:00
usbdi_util.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
usbdi.h Correct the PNP information generated by the usb driver to match the 2018-02-17 06:57:17 +00:00
usbhid.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00