Driver core: add dev_archdata to struct device
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sat, 11 Nov 2006 06:18:39 +0000 (17:18 +1100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Dec 2006 22:52:01 +0000 (14:52 -0800)
commitc6dbaef22a2f78700e242915a13218dd780c89ff
tree57167ca04a79f0d0aecf82523c8d8f3918312d8d
parentd80f19fab89cba8a6d16193154c8ff3edab00942
Driver core: add dev_archdata to struct device

Add arch specific dev_archdata to struct device

Adds an arch specific struct dev_arch to struct device. This enables
architecture to add specific fields to every device in the system, like
DMA operation pointers, NUMA node ID, firmware specific data, etc...

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Andi Kleen <ak@suse.de>
Acked-By: David Howells <dhowells@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
27 files changed:
include/asm-alpha/device.h [new file with mode: 0644]
include/asm-arm/device.h [new file with mode: 0644]
include/asm-arm26/device.h [new file with mode: 0644]
include/asm-avr32/device.h [new file with mode: 0644]
include/asm-cris/device.h [new file with mode: 0644]
include/asm-frv/device.h [new file with mode: 0644]
include/asm-generic/device.h [new file with mode: 0644]
include/asm-h8300/device.h [new file with mode: 0644]
include/asm-i386/device.h [new file with mode: 0644]
include/asm-ia64/device.h [new file with mode: 0644]
include/asm-m32r/device.h [new file with mode: 0644]
include/asm-m68k/device.h [new file with mode: 0644]
include/asm-m68knommu/device.h [new file with mode: 0644]
include/asm-mips/device.h [new file with mode: 0644]
include/asm-parisc/device.h [new file with mode: 0644]
include/asm-powerpc/device.h [new file with mode: 0644]
include/asm-ppc/device.h [new file with mode: 0644]
include/asm-s390/device.h [new file with mode: 0644]
include/asm-sh/device.h [new file with mode: 0644]
include/asm-sh64/device.h [new file with mode: 0644]
include/asm-sparc/device.h [new file with mode: 0644]
include/asm-sparc64/device.h [new file with mode: 0644]
include/asm-um/device.h [new file with mode: 0644]
include/asm-v850/device.h [new file with mode: 0644]
include/asm-x86_64/device.h [new file with mode: 0644]
include/asm-xtensa/device.h [new file with mode: 0644]
include/linux/device.h