freebsd-nq/sys/mips
Oleksandr Tymoshenko f7604b1b27 Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc
Change OF_getencprop_alloc semantics to be combination of malloc and
OF_getencprop and return size of the property, not number of elements
allocated.

For the use cases where number of elements is preferred introduce
OF_getencprop_alloc_multi helper function that copies semantics
of OF_getencprop_alloc prior to this change.

This is to make OF_getencprop_alloc and OF_getencprop_alloc_multi
function signatures consistent with OF_getencprop_alloc and
OF_getencprop_alloc_multi.

Functionality-wise this patch is mostly rename of OF_getencprop_alloc
to OF_getencprop_alloc_multi except two calls in ofw_bus_setup_iinfo
where 1 was used as a block size.
2018-04-09 22:06:16 +00:00
..
atheros sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
beri sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
broadcom bhnd(4): Use the new BHND_CAP_BP64 capability flag to exclude DMA 2018-03-29 19:48:50 +00:00
cavium Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
conf [ar71xx] Fix the TL-wdr3600/tl-wdr4300 hints in the new world order. 2018-02-07 09:35:47 +00:00
gxemul sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
include Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
ingenic Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
malta sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
mediatek Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
mips Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
nlm Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
sibyte sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00