Subject: [RFC] doshutdownhooks() and friends.
To: None <tech-kern@netbsd.org>
From: Cherry G.Mathew <cherry@zyx.in>
List: tech-kern
Date: 04/22/2006 23:15:38
Hi,

This patch will re-work the doshutdownhooks() call, to pass a variable  
indicating the nature of the shutdown; ie;

reboot.h: RB_XXXX

This allows device drivers to make more informed decisions about  
shutting down hardware.

The patches are broken out as follows:

MI stuff:

ftp://ftp.netbsd.org/pub/NetBSD/misc/cherry/doshutdownhooks/ 
kern_subr.c.diff

MI device drivers:

ftp://ftp.netbsd.org/pub/NetBSD/misc/cherry/doshutdownhooks/ 
shutdownhooks_sys.dev.diff

MD stuff:
ftp://ftp.netbsd.org/pub/NetBSD/misc/cherry/doshutdownhooks/ 
shutdownhooks_sys.arch.diff

Thanks,

--
~Cherry