freebsd-nq/sys/powerpc/powernv
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
..
opal_async.c
opal_console.c opal_console: fix serial console output corruption on powerpc64 2021-04-16 20:10:09 -03:00
opal_dbg.c
opal_dev.c newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
opal_flash.c
opal_hmi.c
opal_i2c.c
opal_i2cm.c
opal_nvram.c
opal_pci.c Rename ofwpci.c to ofw_pcib.c 2021-05-20 11:22:25 +02:00
opal_sensor.c
opal.c
opal.h opal_console: fix serial console output corruption on powerpc64 2021-04-16 20:10:09 -03:00
opalcall.S
platform_powernv.c
powernv_centaur.c
powernv_xscom.c
xive.c powerpc/xive: Remove POWER9 DD1 IRQ bits 2021-05-01 16:18:02 -05:00