opnsense-src/share/man
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
..
man1 pkgbase: move man pages from runtime-manual to runtime 2019-07-19 15:12:20 +00:00
man3 assert.3: Document static_assert and _Static_assert 2021-04-20 11:17:44 +02:00
man3lua flua: Add a libjail module 2020-10-24 17:08:59 +00:00
man4 linux(4): Get rid of Linuxulator kernel build options. 2021-06-22 08:32:39 +03:00
man5 devmatch: improve naming of devmatch config variable 2021-06-18 13:17:30 +01:00
man6 pkgbase: move man pages from runtime-manual to runtime 2019-07-19 15:12:20 +00:00
man7 ports(7): Add install-missing-packages to target list 2021-06-10 14:58:24 +02:00
man8 uefi: Add riscv to historical details 2021-02-22 22:27:00 +00:00
man9 newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
Makefile flua: Add a libjail module 2020-10-24 17:08:59 +00:00