NetBSD/sys/dev/isapnp
rin aba664485b Audit unload/unmap v.s. free against DMA buffer for sys/dev;
make sure that bus_dmamap_unload(9) [or bus_dmamap_destroy(9)] or
bus_dmamem_unmap(9) are preceding to freeing DMA buffer, if it is
loaded or mapped, respectively.

This is mandatory for some archs. See, e.g.:

http://www.nerv.org/netbsd/?q=id:20210511T013030Z.013443cc790088147e4beed43f53dedabeaf9312
http://www.nerv.org/netbsd/?q=id:20220511T172220Z.561179f0b6fcc5b9cd73e274f69d74e2ce9e4c93

For some drivers, resource leaks for error paths are fixed at
the same time.

XXX XXX XXX
Compile test only (at least one arch per driver).
2022-05-29 10:43:45 +00:00
..
Makefile.isapnpdevs
aha_isapnp.c
aic_isapnp.c
atppc_isapnp.c
com_isapnp.c
devlist2h.awk
ess_isapnp.c
files.isapnp fix various typos in comments, docs and log messages. 2022-05-24 06:27:59 +00:00
gus_isapnp.c
i82365_isapnp.c
if_an_isapnp.c
if_cs_isapnp.c
if_ep_isapnp.c
if_fmv_isapnp.c
if_le_isapnp.c Audit unload/unmap v.s. free against DMA buffer for sys/dev; 2022-05-29 10:43:45 +00:00
if_ne_isapnp.c
isapnp.c
isapnpdebug.c
isapnpdevs
isapnpdevs.c
isapnpdevs.h
isapnpreg.h
isapnpres.c
isapnpvar.h
joy_isapnp.c
mpu_isapnp.c
sb_isapnp.c
wdc_isapnp.c
wss_isapnp.c
ym_isapnp.c