Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756110AbYHMPp2 (ORCPT ); Wed, 13 Aug 2008 11:45:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751852AbYHMPpN (ORCPT ); Wed, 13 Aug 2008 11:45:13 -0400 Received: from hp3.statik.tu-cottbus.de ([141.43.120.68]:46068 "EHLO hp3.statik.tu-cottbus.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750875AbYHMPpM (ORCPT ); Wed, 13 Aug 2008 11:45:12 -0400 Message-ID: <48A30140.9040704@s5r6.in-berlin.de> Date: Wed, 13 Aug 2008 17:44:00 +0200 From: Stefan Richter User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.16) Gecko/20080702 SeaMonkey/1.1.11 MIME-Version: 1.0 To: Oliver Neukum CC: Alan Stern , Pavel Machek , kernel list , Linux-pm mailing list , James.Bottomley@hansenpartnership.com, teheo@novell.com Subject: Re: Power management for SCSI References: <200808131724.52461.oneukum@suse.de> In-Reply-To: <200808131724.52461.oneukum@suse.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1261 Lines: 26 Oliver Neukum wrote: > Am Mittwoch 13 August 2008 16:59:23 schrieb Alan Stern: [Quoting Oliver: true SCSI busses can be shared. So are we using the correct approach?] >> This is a good question. Most USB mass-storage devices do not act as a >> true SCSI bus, but I believe there are a few non-standard ones that do >> -- the USB device really contains a SCSI host and arbitrary SCSI > > OK, but does it make sense to have SCSI autosuspend? Or should autosuspend > operate on the bus the _host_ is connected to (usb, pci, ...)? In Alan's patch, SCSI calls scsi_host_template methods (if the LLD provides ones) to suspend and resume a Scsi_Host. The LLD can use them to work with the underlying infrastructure to determine what can be done at that time. I.e. are there other protocols or other initiator-like nodes sharing the link? If yes or if "maybe yes", the infrastructure keeps the link up. If not, it can move it into a low-power state. -- Stefan Richter -=====-==--- =--- -==-= http://arcgraph.de/sr/ -- 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/