Subject: ca_activate et al
To: None <tech-kern@netbsd.org>
From: Jachym Holecek <freza@dspfpga.com>
List: tech-kern
Date: 06/27/2006 04:12:26
Hello,

'struct cfattach' has a ca_activate entry which seems to only be used
by config_detach(). Many drivers implement "activate" function, though
most of them (at a glance):

  1. don't support DVACT_ACTIVATE
  2. only pass the action down to their children on DVACT_DEACTIVATE

Unless I'm missing something, "activate" entry points are dead code.
If so, this would be an opportunity to make kernel images somewhat
smaller by removing ca_activate and all related logic.

Comments?

	-- Jachym