Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764744AbXE2Kv7 (ORCPT ); Tue, 29 May 2007 06:51:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757011AbXE2Kvw (ORCPT ); Tue, 29 May 2007 06:51:52 -0400 Received: from verein.lst.de ([213.95.11.210]:42729 "EHLO mail.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755516AbXE2Kvv (ORCPT ); Tue, 29 May 2007 06:51:51 -0400 Date: Tue, 29 May 2007 12:51:19 +0200 From: Christoph Hellwig To: Arnd Bergmann Cc: linuxppc-dev@ozlabs.org, Geert Uytterhoeven , linux-kernel@vger.kernel.org Subject: Re: [patch 6/7] ps3: ROM Storage Driver Message-ID: <20070529105119.GD29351@lst.de> References: <20070525083607.784351000@sonycom.com> <200705251850.30342.arnd@arndb.de> <200705252304.30396.arnd@arndb.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200705252304.30396.arnd@arndb.de> User-Agent: Mutt/1.3.28i X-Spam-Score: 0 () Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1122 Lines: 24 On Fri, May 25, 2007 at 11:04:29PM +0200, Arnd Bergmann wrote: > On Friday 25 May 2007, Geert Uytterhoeven wrote: > > > > > What is the problem? Is there infrastructure missing in the > > > CD-ROM layer? > > > > As the CD/DVD/BD part just accepts SCSI/ATAPI commands (except for plain > > read/write), I was suggested to keep it as a SCSI driver. > > Ok, so I guess the tradeoff here is that by writing it as a SCSI > driver, you don't need to implement any of the cdrom_device_ops > yourself but instead need to fake a few of the SCSI commands > in ps3rom_request(). Fair enough. ps3rom is just a normal scsi low level driver. Currently the only attached devices or MMC devices so the sr driver attaches to it, but if you want to hack the ps3 hardware you should be able to attach a tape or disk aswell, and linux would work (lv1 and gameos might of course not like this) - 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/