NetBSD/sys/dev/dtv
pgoyette 97f8debd62 For device modules that provide both auto-config and /dev/xxx
interfaces, make sure that initialization and destruction
follow the proper sequence.  This is triggered by the recent
changes to the devsw stuff; per riastradh@ the required call
sequence is:

	devsw_attach()
	config_init_component() or config_cf*_attach()
	...
	config_fini_component() or config_cf*_detach()
	devsw_detach()

While here, add a few missing calls to some of the detach
routines.

Testing of these changes has been limited to:
	1. compile without build break
	2. no related test failures from atf
	3. modload/modunload work as well as
	   before.

No functional device testing done, since I don't have any
of these devices.  Let me know of any damage I might cause
here!

XXX Some of the modules affected by this commit are already
XXX broken;  see kern/56772.  This commit does not break
any additional modules (as far as I know).
2022-03-31 19:30:15 +00:00
..
Makefile
dtv_buffer.c
dtv_demux.c allocate memory for dtv_ts_section using kmem_alloc() in dtv_demux_read(), 2020-05-30 13:15:10 +00:00
dtv_device.c For device modules that provide both auto-config and /dev/xxx 2022-03-31 19:30:15 +00:00
dtv_ioctl.c
dtv_math.c
dtv_math.h
dtv_scatter.c s/transfered/transferred/ 2019-12-27 09:41:48 +00:00
dtv_scatter.h
dtvif.h
dtvio.h
dtvio_demux.h
dtvio_frontend.h
dtvvar.h
files.dtv