Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 16 Mar 2002 18:16:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 16 Mar 2002 18:16:24 -0500 Received: from ns.suse.de ([213.95.15.193]:33298 "HELO Cantor.suse.de") by vger.kernel.org with SMTP id ; Sat, 16 Mar 2002 18:16:21 -0500 Date: Sun, 17 Mar 2002 00:15:33 +0100 From: Dave Jones To: Linus Torvalds Cc: Alan Cox , "Eric W. Biederman" , Jeff Garzik , Anders Gustafsson , arjanv@redhat.com, linux-kernel@vger.kernel.org, mochel@osdl.org Subject: Re: [PATCH] devexit fixes in i82092.c Message-ID: <20020317001533.E15296@suse.de> Mail-Followup-To: Dave Jones , Linus Torvalds , Alan Cox , "Eric W. Biederman" , Jeff Garzik , Anders Gustafsson , arjanv@redhat.com, linux-kernel@vger.kernel.org, mochel@osdl.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.22.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 16, 2002 at 02:26:23PM -0800, Linus Torvalds wrote: > One question that hasn't come up: do we actually want to use the "remove" > function for this, or have a separate shutdown function? Are there reasons > to not use "remove" for shutdown? Something that came to mind on reading this thread that I want clarification on.. Take for example, the case of an IDE controller. If on shutdown we walk the driverfs tree shutting things down, it's going to power off its hard disks, then do whatever magic is needed to the ide host bridge. This makes sense for a shutdown, and suspend-to-disk, but not for a reboot imo (senseless spinning down/up of drives). So some means is probably going to be needed for drivers to distinguish between a reboot & shutdown/suspend. There may be other such devices too, but this was the more obvious one that came to mind. Or am I way off base here? -- | Dave Jones. http://www.codemonkey.org.uk | SuSE Labs - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/