Skip to contentSkip to conversation

Make UIO available for arm architecture

PATCH In review Hans-Jürgen Koch 3 participants 4 messages Aug 8, 2007 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

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
Index: linux-2.6.23-rc/arch/arm/Kconfig
===================================================================
@@ -1052,6 +1052,8 @@
 
 source "drivers/dma/Kconfig"
 
+source "drivers/uio/Kconfig"
+
 endmenu
 
 source "fs/Kconfig"
#1 lore raw
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

#2 lore raw
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 general Kconfig rather than having to patch each arch's Kconfig?

Quoted 4 lines

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.

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

#3 lore raw

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 general Kconfig rather than having to patch each arch's Kconfig?

Quoted 6 lines
Quoted 4 lines

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.

Um, uio _is_ in drivers/Kconfig already :)

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