freebsd-dev/sys/isa
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
..
isa_common.c newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
isa_common.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
isa_dmareg.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
isa_if.m
isahint.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
isareg.h sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
isavar.h Remove more remnants of sio(4) 2021-04-07 14:33:02 -04:00
pnp.c Warn when nonPNP ISA devices are attached in GENERIC that they are 2017-12-23 22:57:14 +00:00
pnpparse.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
pnpreg.h spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
pnpvar.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
rtc.h Revert r330780, it was improperly tested and results in taking a spin 2018-03-11 20:13:15 +00:00
syscons_isa.c sc(4) md bits: stop setting sc->kbd entirely 2019-12-30 02:07:55 +00:00
vga_isa.c Add ISA PNP tables to ISA drivers. Fix a few incidental comments. 2018-01-29 00:22:30 +00:00