diff options
author | Christian Krafft <krafft@de.ibm.com> | 2006-10-24 18:31:23 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-10-25 14:20:21 +1000 |
commit | e570beb6bb1a623849901efbf939063ec4775c9e (patch) | |
tree | 9d6766eb2ca71393bf16f0aec0cbf726282dea6e /include/linux/lapb.h | |
parent | d8bf96e0793f9576da545bac333b2de304958d68 (diff) | |
download | talos-obmc-linux-e570beb6bb1a623849901efbf939063ec4775c9e.tar.gz talos-obmc-linux-e570beb6bb1a623849901efbf939063ec4775c9e.zip |
[POWERPC] cell: add support for registering sysfs attributes to spus
In order to add sysfs attributes to all spu's, there is a
need for a list of all available spu's. Adding the device_node
makes also sense, as it is needed for proper register access.
This patch also adds two functions to create and remove sysfs
attributes and attribute_groups to all spus.
That allows to group spu attributes in a subdirectory like:
/sys/devices/system/spu/spuX/group_name/what_ever
This will be used by cbe_thermal to group all attributes dealing with
thermal support in one directory.
Signed-off-by: Christian Krafft <krafft@de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/linux/lapb.h')
0 files changed, 0 insertions, 0 deletions