Make UIO available for arm architecture
PATCH 1/1 Make UIO available for arm architecture
The config system doesn't show the UIO menu if arch=arm, this patch fixes it.
---
arch/arm/Kconfig +2 -0
@@ -1052,6 +1052,8 @@ source "drivers/dma/Kconfig" +source "drivers/uio/Kconfig" + endmenu source "fs/Kconfig"
Quoted 13 lines · Hans-Jürgen Koch
---
Index: linux-2.6.23-rc/arch/arm/Kconfig
===================================================================arch/arm/Kconfig +0
-0@@ -1052,6 +1052,8 @@source "
drivers/dma/Kconfig"arch/arm/Kconfig +2
-0+source "drivers/uio/Kconfig" +endmenu
Quoted 1 line
source "fs/Kconfig"
I am raising a general question here.
Should not such cross-platform things be made available in a general Kconfig rather than having to patch each arch's Kconfig?
I am thinking of drivers/Kconfig for this one (of course I am aware that this requires an extra "depends on X86 || SPARC || others" in drivers/pci/Kconfig), and perhaps even a top-level Kconfig for things like truly arch-independent fs/Kconfig.
Jan
Quoted 21 lines · Jan Engelhardt
Quoted 13 lines · Hans-J??rgen Koch
---
Index: linux-2.6.23-rc/arch/arm/Kconfig
===================================================================arch/arm/Kconfig +0
-0@@ -1052,6 +1052,8 @@source "
drivers/dma/Kconfig"arch/arm/Kconfig +2
-0+source "drivers/uio/Kconfig" +endmenu
Quoted 1 line
source "fs/Kconfig"
I am raising a general question here.
Should not such cross-platform things be made available in a generalKconfigrather than having to patch each arch'sKconfig?
Quoted 4 lines
I am thinking of
drivers/Kconfigfor this one (of course I am aware that this requires an extra "depends on X86 || SPARC || others" indrivers/pci/Kconfig), and perhaps even a top-levelKconfigfor things like truly arch-independent fs/Kconfig.
Um, uio _is_ in drivers/Kconfig already :)
But I'm guessing that ARM doesn't use that file yet? If so, I have no objection to the above patch, but it should go through the ARM developers, not me.
thanks,
greg k-h
Am Mittwoch 08 August 2007 18:10 schrieb Greg KH:
Quoted 22 lines · Jan Engelhardt
Quoted 21 lines · Hans-J??rgen Koch
Quoted 13 lines
---
Index: linux-2.6.23-rc/arch/arm/Kconfig
===================================================================arch/arm/Kconfig +0
-0@@ -1052,6 +1052,8 @@source "
drivers/dma/Kconfig"arch/arm/Kconfig +2
-0+source "drivers/uio/Kconfig" +endmenu
Quoted 1 line
source "fs/Kconfig"
I am raising a general question here.
Should not such cross-platform things be made available in a generalKconfigrather than having to patch each arch'sKconfig?
Quoted 6 lines
Quoted 4 lines
I am thinking of
drivers/Kconfigfor this one (of course I am aware that this requires an extra "depends on X86 || SPARC || others" indrivers/pci/Kconfig), and perhaps even a top-levelKconfigfor things like truly arch-independent fs/Kconfig.Um, uio _is_ in
drivers/Kconfigalready :)
Of course :-)
Quoted 2 lines
But I'm guessing that ARM doesn't use that file yet?
No, they don't. They source Kconfigs from each drivers subdirectory.
Quoted 3 lines
If so, I have no
objection to the above patch, but it should go through the ARM developers, not me.
OK, as I've CCed linux-arm-kernel, I hope Russell will do that.
Thanks,
Hans