Added sysfs support to kernel