Home | History | Annotate | Download | only in dtv
History log of /src/sys/dev/dtv/dtv_device.c
RevisionDateAuthorComments
 1.14  31-Mar-2022  pgoyette 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).
 1.13  24-Jul-2021  skrll #include <sys/param.h> for COHERENCY_UNIT and some KNF while I'm here.
 1.12  28-Oct-2017  riastradh branches: 1.12.22;
Kill some more extern struct cfdriver declarations.

Down with externs in .c!
 1.11  09-Aug-2014  jmcneill IPL_VM -> IPL_SCHED to avoid taking kernel lock
 1.10  25-Jul-2014  dholland Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.
 1.9  16-Mar-2014  dholland branches: 1.9.2;
Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.
 1.8  09-Aug-2011  jmcneill branches: 1.8.2; 1.8.12; 1.8.16;
modify the dtv device api so hardware drivers can be loaded independently
of the dtv module
 1.7  16-Jul-2011  jmcneill Fix a locking problem with the demux, and while here do a bit of
housekeeping and documentation.
 1.6  13-Jul-2011  jmcneill add missing mutex_destroy on detach
 1.5  13-Jul-2011  jmcneill add section filter support
 1.4  12-Jul-2011  jmcneill - use separate locks for ingress and egress queues
- increase ts block and buffer sizes
 1.3  09-Jul-2011  jmcneill allow this to be compiled into the kernel
 1.2  09-Jul-2011  jmcneill don't kmem_alloc with IPL_VM mutex locked, spotted by rmind
 1.1  09-Jul-2011  jmcneill add digital TV framework which implements a subset of Linux DVB APIs
 1.8.16.1  18-May-2014  rmind sync with head
 1.8.12.2  03-Dec-2017  jdolecek update from HEAD
 1.8.12.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.8.2.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.9.2.1  10-Aug-2014  tls Rebase.
 1.12.22.1  01-Aug-2021  thorpej Sync with HEAD.

RSS XML Feed