Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755382AbZDVSgq (ORCPT ); Wed, 22 Apr 2009 14:36:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753879AbZDVSgd (ORCPT ); Wed, 22 Apr 2009 14:36:33 -0400 Received: from srv5.dvmed.net ([207.36.208.214]:52742 "EHLO mail.dvmed.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752892AbZDVSgc (ORCPT ); Wed, 22 Apr 2009 14:36:32 -0400 Message-ID: <49EF63A6.8040103@garzik.org> Date: Wed, 22 Apr 2009 14:36:22 -0400 From: Jeff Garzik User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: James Bottomley CC: Alan Cox , Daniela Engert , Boaz Harrosh , linux-ide@vger.kernel.org, linux-scsi@vger.kernel.org, LKML , Jens Axboe , Tejun Heo Subject: Re: [PATCH] libata: rewrite SCSI host scheme to be one per ATA host References: <20090422090929.GA14928@havoc.gtf.org> <49EEE225.3010700@garzik.org> <49EF0A92.1070400@panasas.com> <49EF337F.1030804@ngrt.de> <20090422161856.1251f8a0@lxorguk.ukuu.org.uk> <1240414622.3431.14.camel@mulgrave.int.hansenpartnership.com> In-Reply-To: <1240414622.3431.14.camel@mulgrave.int.hansenpartnership.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.4 (----) X-Spam-Report: SpamAssassin version 3.2.5 on srv5.dvmed.net summary: Content analysis details: (-4.4 points, 5.0 required) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1117 Lines: 27 James Bottomley wrote: > On Wed, 2009-04-22 at 16:18 +0100, Alan Cox wrote: >>> Don't forget, there are ATAPI devices (some Sony CD burners and old >>> phase-changers come into mind) which *do* have multiple LUNs sitting >>> beyond the PATA port. I don't know if libata supports such setups (my >>> old OS/2 driver does) but one shouldn't hijack LUNs to emulate targets. >> It's a long time ago since I tested it but my 5 CD changer was correctly >> supported by libata (or more accurately by sr...). > > Well, sr supports the discovered CD/DVD; ch is the actual changer > manager. Usually ch attaches to one LUN and sr attaches to another. Like Alan's, if I understand him correctly, my PATA ATAPI CD changer simply presents a bunch of addressible LUNs. I never loaded, nor seemed to need, ch. I should boot a current libata and see how it behaves... Jeff -- 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/