UBI: add UBI control device
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sun, 16 Dec 2007 14:59:31 +0000 (16:59 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 26 Dec 2007 17:15:17 +0000 (19:15 +0200)
commit9f961b57568960a150cc9781c52824c9093a0514
tree345d60347d63bdc9973a2447d84024776b73dd2f
parent16f557ecbf96dd13d13788a6f62d4d97ae73b1f9
UBI: add UBI control device

This patch is a preparation to make UBI devices dynamic. It
adds an UBI control device which has dynamically allocated
major number and registers itself as "ubi_ctrl". It does not
do anything so far. The idea is that this device will allow
to attach/detach MTD devices from userspace.

This is symilar to what the Linux device mapper has.

The next things to do are:
* Fix UBI, because it now assumes UBI devices cannot go away
* Implement control device ioctls which will attach/detach MTD
  devices

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/build.c
drivers/mtd/ubi/cdev.c
drivers/mtd/ubi/ubi.h
This page took 0.030182 seconds and 5 git commands to generate.