[rfc] Re: [PATCH] Make UIO available for arm architecture

From: Jan Engelhardt
Date: Wed Aug 08 2007 - 12:15:42 EST



On Aug 8 2007 18:08, Hans-JÃrgen Koch wrote:
>---
>Index: linux-2.6.23-rc/arch/arm/Kconfig
>===================================================================
>--- linux-2.6.23-rc.orig/arch/arm/Kconfig 2007-08-08 17:52:02.000000000 +0200
>+++ linux-2.6.23-rc/arch/arm/Kconfig 2007-08-08 17:53:29.000000000 +0200
>@@ -1052,6 +1052,8 @@
>
> source "drivers/dma/Kconfig"
>
>+source "drivers/uio/Kconfig"
>+
> endmenu
>
> 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
--