[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.1503091038240.1472-100000@iolanthe.rowland.org>
Date: Mon, 9 Mar 2015 10:39:42 -0400 (EDT)
From: Alan Stern <stern@...land.harvard.edu>
To: Dave Young <dyoung@...hat.com>
cc: balbi@...com, <gregkh@...uxfoundation.org>,
<linux-usb@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] usb gadget: remove size limitation for storage cdrom
On Mon, 9 Mar 2015, Alan Stern wrote:
> > They are both iso9660 images, aren't they? So from data image point
> > of view there's no difference, it is not worth to create another mode
> > for dvd data.
>
> There's more to emulation than just the image. We have to emulate the
> hardware's response to all the applicable commands. CD players have a
> different command set from DVD players (or at least, different from DVD
> players when a DVD is inserted). For example, see the definition in
> the MSF format for READ TOC command.
Or to put it another way: The change you want to make would break the
store_cdrom_address() routine in storage_common.c.
Alan Stern
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists