From owner-freebsd-hackers Thu Feb 5 23:54:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA20898 for hackers-outgoing; Thu, 5 Feb 1998 23:54:45 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ibd.dbio.ro (ibd.dbio.ro [193.231.0.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA20882 for ; Thu, 5 Feb 1998 23:54:38 -0800 (PST) (envelope-from calin@ibd.dbio.ro) Received: from localhost (calin@localhost) by ibd.dbio.ro (8.8.7/8.8.7) with SMTP id KAA15377 for ; Fri, 6 Feb 1998 10:00:17 +0200 (EET) (envelope-from calin@ibd.dbio.ro) Date: Fri, 6 Feb 1998 10:00:17 +0200 (EET) From: Calin Andrian To: freebsd-hackers@FreeBSD.ORG Subject: Re: Powering off the system/UPS In-Reply-To: <199802051131.WAA00347@word.smith.net.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe hackers" Hi Walter and Mike ! I followed all your mail about how to patch the kernel. I seems that the solution that would satisfy (more or less) everybody would be an extra list for at_shutdown where both apm and ups drivers can insert callbacks. (the way I patched my system's kernel - haha). Mike mentioned ordering the lists. Isn't it too much ? It would mean defining some kind of priority levels, and a lot of do and don't's for calling at_shutdown. Walter, please send me a snapshot of your work, either as attachment or to ftp://ftp.dbio.ro/incoming . I'd like to rewrite my driver but I want to see what you expect from thie kind of driver (ioctls and others). I will go with your design as it seems (from what you say) the most advanced. Regards, Calin