Re: MMC ioctl or sysfs interface?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux