Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Original patch from Paul Mundt, sysfs parts removed by me since they were broken. Signed-off-by: Jens Axboe <axboe@suse.de>