]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: blktrans: allow FTL drivers to export sysfs attributes
authorMaxim Levitsky <maximlevitsky@gmail.com>
Mon, 22 Feb 2010 18:39:33 +0000 (20:39 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 26 Feb 2010 17:37:40 +0000 (17:37 +0000)
commita2ee356d7747ed6bf8a0655dd61c4eebea584406
tree661a61956e03482a9efc1fa26ef41d2a53d755fa
parent46031f814039eebd682ea1775e2105ee4a69e45f
mtd: blktrans: allow FTL drivers to export sysfs attributes

This patch adds an ability to export sysfs attributes below
the block disk device.

This can be used to pass the udev an information about the FTL
and could include the vendor, serial, version, etc...

Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/mtd_blkdevs.c
include/linux/mtd/blktrans.h