From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Ball Subject: Re: A question on IOCTL interface for MMC Date: Mon, 24 Oct 2011 12:39:40 -0400 Message-ID: References: <5263525.D4yqBTjgWh@wuerfel> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from void.printf.net ([89.145.121.20]:43586 "EHLO void.printf.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933013Ab1JXQkC (ORCPT ); Mon, 24 Oct 2011 12:40:02 -0400 In-Reply-To: (Shashidhar Hiremath's message of "Mon, 24 Oct 2011 18:02:36 +0530") Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: Shashidhar Hiremath Cc: Arnd Bergmann , J Freyensee , John Calixto , linux-mmc@vger.kernel.org Hi, On Mon, Oct 24 2011, Shashidhar Hiremath wrote: > As explained in previous mail, the IOCTL is actually an inteface to > block layer and it is only expecting read/write commands to be sent > through the interface.The prrof of it can be seen in write_flag > present in the IOCTL structure which indicates the either the command > can be read or a write command. Please just try it, using an arbitrary write_flag. Thanks, - Chris. -- Chris Ball One Laptop Per Child