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