From dd2f87052be0b7efeece75b8ebb53a62744d9ea7 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Sat, 11 Nov 2006 17:18:39 +1100 Subject: [PATCH] --- yaml --- r: 41193 b: refs/heads/master c: c6dbaef22a2f78700e242915a13218dd780c89ff h: refs/heads/master i: 41191: 6494252a1b4b96ebf45be64a294275fcc50061bf v: v3 --- [refs] | 2 +- trunk/include/asm-alpha/device.h | 7 +++++++ trunk/include/asm-arm/device.h | 7 +++++++ trunk/include/asm-arm26/device.h | 7 +++++++ trunk/include/asm-avr32/device.h | 7 +++++++ trunk/include/asm-cris/device.h | 7 +++++++ trunk/include/asm-frv/device.h | 7 +++++++ trunk/include/asm-generic/device.h | 12 ++++++++++++ trunk/include/asm-h8300/device.h | 7 +++++++ trunk/include/asm-i386/device.h | 7 +++++++ trunk/include/asm-ia64/device.h | 7 +++++++ trunk/include/asm-m32r/device.h | 7 +++++++ trunk/include/asm-m68k/device.h | 7 +++++++ trunk/include/asm-m68knommu/device.h | 7 +++++++ trunk/include/asm-mips/device.h | 7 +++++++ trunk/include/asm-parisc/device.h | 7 +++++++ trunk/include/asm-powerpc/device.h | 7 +++++++ trunk/include/asm-ppc/device.h | 7 +++++++ trunk/include/asm-s390/device.h | 7 +++++++ trunk/include/asm-sh/device.h | 7 +++++++ trunk/include/asm-sh64/device.h | 7 +++++++ trunk/include/asm-sparc/device.h | 7 +++++++ trunk/include/asm-sparc64/device.h | 7 +++++++ trunk/include/asm-um/device.h | 7 +++++++ trunk/include/asm-v850/device.h | 7 +++++++ trunk/include/asm-x86_64/device.h | 7 +++++++ trunk/include/asm-xtensa/device.h | 7 +++++++ trunk/include/linux/device.h | 3 +++ 28 files changed, 191 insertions(+), 1 deletion(-) create mode 100644 trunk/include/asm-alpha/device.h create mode 100644 trunk/include/asm-arm/device.h create mode 100644 trunk/include/asm-arm26/device.h create mode 100644 trunk/include/asm-avr32/device.h create mode 100644 trunk/include/asm-cris/device.h create mode 100644 trunk/include/asm-frv/device.h create mode 100644 trunk/include/asm-generic/device.h create mode 100644 trunk/include/asm-h8300/device.h create mode 100644 trunk/include/asm-i386/device.h create mode 100644 trunk/include/asm-ia64/device.h create mode 100644 trunk/include/asm-m32r/device.h create mode 100644 trunk/include/asm-m68k/device.h create mode 100644 trunk/include/asm-m68knommu/device.h create mode 100644 trunk/include/asm-mips/device.h create mode 100644 trunk/include/asm-parisc/device.h create mode 100644 trunk/include/asm-powerpc/device.h create mode 100644 trunk/include/asm-ppc/device.h create mode 100644 trunk/include/asm-s390/device.h create mode 100644 trunk/include/asm-sh/device.h create mode 100644 trunk/include/asm-sh64/device.h create mode 100644 trunk/include/asm-sparc/device.h create mode 100644 trunk/include/asm-sparc64/device.h create mode 100644 trunk/include/asm-um/device.h create mode 100644 trunk/include/asm-v850/device.h create mode 100644 trunk/include/asm-x86_64/device.h create mode 100644 trunk/include/asm-xtensa/device.h diff --git a/[refs] b/[refs] index 89be9aa719ef..7c48264acdeb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d80f19fab89cba8a6d16193154c8ff3edab00942 +refs/heads/master: c6dbaef22a2f78700e242915a13218dd780c89ff diff --git a/trunk/include/asm-alpha/device.h b/trunk/include/asm-alpha/device.h new file mode 100644 index 000000000000..d8f9872b0e2d --- /dev/null +++ b/trunk/include/asm-alpha/device.h @@ -0,0 +1,7 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#include + diff --git a/trunk/include/asm-arm/device.h b/trunk/include/asm-arm/device.h new file mode 100644 index 000000000000..d8f9872b0e2d --- /dev/null +++ b/trunk/include/asm-arm/device.h @@ -0,0 +1,7 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#include + diff --git a/trunk/include/asm-arm26/device.h b/trunk/include/asm-arm26/device.h new file mode 100644 index 000000000000..d8f9872b0e2d --- /dev/null +++ b/trunk/include/asm-arm26/device.h @@ -0,0 +1,7 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#include + diff --git a/trunk/include/asm-avr32/device.h b/trunk/include/asm-avr32/device.h new file mode 100644 index 000000000000..d8f9872b0e2d --- /dev/null +++ b/trunk/include/asm-avr32/device.h @@ -0,0 +1,7 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#include + diff --git a/trunk/include/asm-cris/device.h b/trunk/include/asm-cris/device.h new file mode 100644 index 000000000000..d8f9872b0e2d --- /dev/null +++ b/trunk/include/asm-cris/device.h @@ -0,0 +1,7 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#include + diff --git a/trunk/include/asm-frv/device.h b/trunk/include/asm-frv/device.h new file mode 100644 index 000000000000..d8f9872b0e2d --- /dev/null +++ b/trunk/include/asm-frv/device.h @@ -0,0 +1,7 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#include + diff --git a/trunk/include/asm-generic/device.h b/trunk/include/asm-generic/device.h new file mode 100644 index 000000000000..c17c9600f220 --- /dev/null +++ b/trunk/include/asm-generic/device.h @@ -0,0 +1,12 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#ifndef _ASM_GENERIC_DEVICE_H +#define _ASM_GENERIC_DEVICE_H + +struct dev_archdata { +}; + +#endif /* _ASM_GENERIC_DEVICE_H */ diff --git a/trunk/include/asm-h8300/device.h b/trunk/include/asm-h8300/device.h new file mode 100644 index 000000000000..d8f9872b0e2d --- /dev/null +++ b/trunk/include/asm-h8300/device.h @@ -0,0 +1,7 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#include + diff --git a/trunk/include/asm-i386/device.h b/trunk/include/asm-i386/device.h new file mode 100644 index 000000000000..d8f9872b0e2d --- /dev/null +++ b/trunk/include/asm-i386/device.h @@ -0,0 +1,7 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#include + diff --git a/trunk/include/asm-ia64/device.h b/trunk/include/asm-ia64/device.h new file mode 100644 index 000000000000..d8f9872b0e2d --- /dev/null +++ b/trunk/include/asm-ia64/device.h @@ -0,0 +1,7 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#include + diff --git a/trunk/include/asm-m32r/device.h b/trunk/include/asm-m32r/device.h new file mode 100644 index 000000000000..d8f9872b0e2d --- /dev/null +++ b/trunk/include/asm-m32r/device.h @@ -0,0 +1,7 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#include + diff --git a/trunk/include/asm-m68k/device.h b/trunk/include/asm-m68k/device.h new file mode 100644 index 000000000000..d8f9872b0e2d --- /dev/null +++ b/trunk/include/asm-m68k/device.h @@ -0,0 +1,7 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#include + diff --git a/trunk/include/asm-m68knommu/device.h b/trunk/include/asm-m68knommu/device.h new file mode 100644 index 000000000000..d8f9872b0e2d --- /dev/null +++ b/trunk/include/asm-m68knommu/device.h @@ -0,0 +1,7 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#include + diff --git a/trunk/include/asm-mips/device.h b/trunk/include/asm-mips/device.h new file mode 100644 index 000000000000..d8f9872b0e2d --- /dev/null +++ b/trunk/include/asm-mips/device.h @@ -0,0 +1,7 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#include + diff --git a/trunk/include/asm-parisc/device.h b/trunk/include/asm-parisc/device.h new file mode 100644 index 000000000000..d8f9872b0e2d --- /dev/null +++ b/trunk/include/asm-parisc/device.h @@ -0,0 +1,7 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#include + diff --git a/trunk/include/asm-powerpc/device.h b/trunk/include/asm-powerpc/device.h new file mode 100644 index 000000000000..d8f9872b0e2d --- /dev/null +++ b/trunk/include/asm-powerpc/device.h @@ -0,0 +1,7 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#include + diff --git a/trunk/include/asm-ppc/device.h b/trunk/include/asm-ppc/device.h new file mode 100644 index 000000000000..d8f9872b0e2d --- /dev/null +++ b/trunk/include/asm-ppc/device.h @@ -0,0 +1,7 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#include + diff --git a/trunk/include/asm-s390/device.h b/trunk/include/asm-s390/device.h new file mode 100644 index 000000000000..d8f9872b0e2d --- /dev/null +++ b/trunk/include/asm-s390/device.h @@ -0,0 +1,7 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#include + diff --git a/trunk/include/asm-sh/device.h b/trunk/include/asm-sh/device.h new file mode 100644 index 000000000000..d8f9872b0e2d --- /dev/null +++ b/trunk/include/asm-sh/device.h @@ -0,0 +1,7 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#include + diff --git a/trunk/include/asm-sh64/device.h b/trunk/include/asm-sh64/device.h new file mode 100644 index 000000000000..d8f9872b0e2d --- /dev/null +++ b/trunk/include/asm-sh64/device.h @@ -0,0 +1,7 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#include + diff --git a/trunk/include/asm-sparc/device.h b/trunk/include/asm-sparc/device.h new file mode 100644 index 000000000000..d8f9872b0e2d --- /dev/null +++ b/trunk/include/asm-sparc/device.h @@ -0,0 +1,7 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#include + diff --git a/trunk/include/asm-sparc64/device.h b/trunk/include/asm-sparc64/device.h new file mode 100644 index 000000000000..d8f9872b0e2d --- /dev/null +++ b/trunk/include/asm-sparc64/device.h @@ -0,0 +1,7 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#include + diff --git a/trunk/include/asm-um/device.h b/trunk/include/asm-um/device.h new file mode 100644 index 000000000000..d8f9872b0e2d --- /dev/null +++ b/trunk/include/asm-um/device.h @@ -0,0 +1,7 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#include + diff --git a/trunk/include/asm-v850/device.h b/trunk/include/asm-v850/device.h new file mode 100644 index 000000000000..d8f9872b0e2d --- /dev/null +++ b/trunk/include/asm-v850/device.h @@ -0,0 +1,7 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#include + diff --git a/trunk/include/asm-x86_64/device.h b/trunk/include/asm-x86_64/device.h new file mode 100644 index 000000000000..d8f9872b0e2d --- /dev/null +++ b/trunk/include/asm-x86_64/device.h @@ -0,0 +1,7 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#include + diff --git a/trunk/include/asm-xtensa/device.h b/trunk/include/asm-xtensa/device.h new file mode 100644 index 000000000000..d8f9872b0e2d --- /dev/null +++ b/trunk/include/asm-xtensa/device.h @@ -0,0 +1,7 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#include + diff --git a/trunk/include/linux/device.h b/trunk/include/linux/device.h index 00b29e0c5ce0..5b54d756cd54 100644 --- a/trunk/include/linux/device.h +++ b/trunk/include/linux/device.h @@ -21,6 +21,7 @@ #include #include #include +#include #define DEVICE_NAME_SIZE 50 #define DEVICE_NAME_HALF __stringify(20) /* Less than half to accommodate slop */ @@ -383,6 +384,8 @@ struct device { struct dma_coherent_mem *dma_mem; /* internal for coherent mem override */ + /* arch specific additions */ + struct dev_archdata archdata; /* class_device migration path */ struct list_head node;