From: Pierre Ossman <drzeus-list@drzeus.cx>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Chris Wedgwood <cw@f00f.org>, LKML <linux-kernel@vger.kernel.org>,
Russell King <rmk+lkml@arm.linux.org.uk>
Subject: Re: MMC ioctl or sysfs interface?
Date: Sun, 12 Jun 2005 20:15:48 +0200 [thread overview]
Message-ID: <42AC7BD4.9040906@drzeus.cx> (raw)
In-Reply-To: <1118444435.5213.72.camel@localhost.localdomain>
Alan Cox wrote:
>On Gwe, 2005-06-10 at 22:00, Pierre Ossman wrote:
>
>
>>>IDE disks can do this too --- is it the same interface?
>>>
>>>
>>No. ATA and MMC are very different protocols.
>>
>>
>
>It would be good to have the same ioctls on both block devices or sysfs
>files however.
>
>
I wasn't aware that you could do ioctl on sysfs nodes. I guess I'll have
to dig a bit deeper in the documentation/code.
As for keeping the same ioctl. If the current ioctls are similar enough
then I don't see why not. The userspace tools might need changing though
since all ATA ioctls won't be available. What tool is used for locking
an ATA drive? And is there some documentation detailing the lock
commands and related ioctls so I can compare with what I'm trying to do?
Rgds
Pierre
next prev parent reply other threads:[~2005-06-12 19:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-09 13:08 MMC ioctl or sysfs interface? Pierre Ossman
2005-06-10 0:58 ` Chris Wedgwood
2005-06-10 21:00 ` Pierre Ossman
2005-06-10 23:00 ` Alan Cox
2005-06-12 18:15 ` Pierre Ossman [this message]
2005-06-12 18:25 ` Alan Cox
2005-06-12 20:30 ` Jon Smirl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42AC7BD4.9040906@drzeus.cx \
--to=drzeus-list@drzeus.cx \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=cw@f00f.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rmk+lkml@arm.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox