Driver-specific ioctls

Artem Bityutskiy dedekind at infradead.org
Thu Feb 1 02:14:54 EST 2007


On Thu, 2007-02-01 at 16:30 +1300, Gavin Lambert wrote:
> I came across a situation the other day where I wanted to get some more
> esoteric data from an MTD chip driver into userspace (mostly for
> debugging purposes).  Sadly (at least in 2.6.15) mtdchar doesn't pass
> any unrecognised ioctls to the MTD driver, which seems like the cleanest
> way to do that sort of thing.

Add sysfs support to mtd and export nearly any data outside.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)





More information about the linux-mtd mailing list