diff options
author | Kay Sievers <kay.sievers@novell.com> | 2006-10-07 19:54:55 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-02-07 18:37:14 (GMT) |
commit | f9f852df2faf76a2667949ddb4947d4b8f99f02f (patch) | |
tree | 3dfdbae06ef17c83266cc18ed77fcd1c51328c15 /drivers/block/ida_cmd.h | |
parent | 239378f16aa1ab5c502e42a06359d2de4f88ebb4 (diff) | |
download | linux-f9f852df2faf76a2667949ddb4947d4b8f99f02f.tar.xz |
Driver core: add device_type to struct device
This allows us to add type specific attributes, uevent vars and
release funtions.
A subsystem can carry different types of devices like the "block"
subsys has disks and partitions. Both types create a different set
of attributes, but belong to the same subsystem.
This corresponds to the low level objects:
kobject -> device (object/device data)
kobj_type -> device_type (type of object/device we are embedded in)
kset -> class/bus (list of objects/devices of a subsystem)
Signed-off-by: Kay Sievers <kay.sievers@novell.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/block/ida_cmd.h')
0 files changed, 0 insertions, 0 deletions