opnsense-src/sys/arm
Warner Losh ddfc9c4c59 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
2021-06-22 20:52:06 -06:00
..
allwinner newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
altera/socfpga arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
annapurna/alpine Remove versatile support 2021-04-12 06:16:31 +00:00
arm Add more GIC and GICv3 registers 2021-06-14 14:53:11 +00:00
broadcom/bcm2835 rpi_ft5406: Recognize raspberrypi,firmware-ts touchscreen 2021-05-09 12:13:19 +02:00
cloudabi32 Get rid of sa->narg. It serves no purpose; use sa->callp->sy_narg instead. 2020-09-27 18:47:06 +00:00
conf arm: SOCFPGA: Add ext_resources driver 2021-05-31 19:08:08 +02:00
freescale newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
include Reduce code duplication in machine/_types.h 2021-06-14 16:30:16 +01:00
linux linux(4): Regen for linux_poll system call. 2021-06-22 08:09:55 +03:00
mv mvebu_gpio: Fix settings of gpio pin direction. 2021-03-07 11:41:30 +01:00
nvidia newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
qemu arm: Add kern_clocksource.c directly in files.arm 2019-04-16 20:04:22 +00:00
rockchip Add support for RK3288 SoC. 2020-12-04 16:24:44 +00:00
ti arm: TI am335x ehrpwm fix bitmask 2021-06-14 10:38:06 +02:00
xilinx arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00