linux/arch/powerpc/platforms
Andi Kleen 4a0b2b4dbe sysdev: Pass the attribute to the low level sysdev show/store function
This allow to dynamically generate attributes and share show/store
functions between attributes. Right now most attributes are generated
by special macros and lots of duplicated code. With the attribute
passed it's instead possible to attach some data to the attribute
and then use that in shared low level functions to do different things.

I need this for the dynamically generated bank attributes in the x86
machine check code, but it'll allow some further cleanups.

I converted all users in tree to the new show/store prototype. It's a single
huge patch to avoid unbisectable sections.

Runtime tested: x86-32, x86-64
Compiled only: ia64, powerpc
Not compile tested/only grep converted: sh, arm, avr32

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-07-21 21:55:02 -07:00
..
8xx powerpc/CPM: Add i2c pins to dts and board setup 2008-07-14 07:55:39 -05:00
40x [POWERPC] 4xx: Create common ppc4xx_reset_system() in ppc4xx_soc.c 2008-04-02 20:44:56 -05:00
44x powerpc/44x: Support NAND boot for Rev A Warp boards 2008-07-09 13:36:39 -04:00
52xx Merge commit 'gcl/gcl-next' 2008-07-15 11:55:27 +10:00
82xx powerpc/ep8248e: Fix compile problem if !CONFIG_FS_ENET 2008-07-16 11:43:48 -07:00
83xx powerpc: Add 82xx/83xx/86xx to 6xx Multiplatform 2008-07-14 07:55:44 -05:00
85xx powerpc/85xx: Minor fixes for 85xxds and 8536ds board. 2008-07-14 07:55:44 -05:00
86xx powerpc: Add 82xx/83xx/86xx to 6xx Multiplatform 2008-07-14 07:55:44 -05:00
512x powerpc/mpc5121: Add support for CPLD on MPC5121ADS board 2008-07-12 12:10:55 -06:00
cell sysdev: Pass the attribute to the low level sysdev show/store function 2008-07-21 21:55:02 -07:00
chrp driver core: fix a lot of printk usages of bus_id 2008-07-21 21:54:53 -07:00
embedded6xx powerpc: Add C2K to configuration 2008-06-09 13:42:29 +10:00
iseries powerpc/dma: implement new dma_*map*_attrs() interfaces 2008-07-09 16:30:43 +10:00
maple [POWERPC] Fix sparse warnings in arch/powerpc/kernel 2008-05-14 22:31:59 +10:00
pasemi i2c: Switch pasemi to the new device/driver matching scheme 2008-05-18 20:49:40 +02:00
powermac Merge commit '85082fd7cbe3173198aac0eb5e85ab1edcc6352c' into test-build 2008-07-15 15:44:51 +10:00
prep [POWERPC] Split several platforms into their respective Kconfig file 2007-03-22 10:07:32 -05:00
ps3 Merge commit 'origin/master' 2008-07-16 11:07:59 +10:00
pseries Merge commit 'origin/master' 2008-07-16 11:07:59 +10:00
fsl_uli1575.c [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards 2007-08-17 13:22:16 -05:00
Kconfig powerpc: Add 82xx/83xx/86xx to 6xx Multiplatform 2008-07-14 07:55:44 -05:00
Kconfig.cputype powerpc: Add CONFIG_VSX config option 2008-07-01 11:28:51 +10:00
Makefile [POWERPC] celleb: Move miscellaneous files for Beat 2008-04-24 21:08:14 +10:00