• Patrick Mochel's avatar
    driver model: convert bus drivers to use kobjects and sysfs. · 289609f0
    Patrick Mochel authored
    - create bus subsystem and register on start up.
    - add struct subsystem to struct bus type to get it in the object hierarchy.
    - add device and driver subsystems to struct bus type to give it hierarchy
      like it previously had.
    - convert bus show()/store() callbacks to know about struct kobject.
    - convert bus file creation/removal to use struct kobject.
    - create symlinks from to device directories, like they had in driverfs.
    289609f0
bus.c 9.09 KB