Re: [LEDE-DEV] [PATCH] kernel: add KERNEL_DEVMEM and KERNEL_DEVKMEM

2016-12-18 Thread John Crispin


On 17/12/2016 15:04, Hauke Mehrtens wrote:
> These options are needed to create /dev/mem or /dev/kmem .
> /dev/mem is needed by the io tool to access raw hardware memory, which
> is helpful when debugging and developing drivers.
> 
> Signed-off-by: Hauke Mehrtens 

Acked-by: John Crispin 

> ---
>  config/Config-kernel.in | 14 ++
>  1 file changed, 14 insertions(+)
> 
> diff --git a/config/Config-kernel.in b/config/Config-kernel.in
> index 3c69c86..3f30013 100644
> --- a/config/Config-kernel.in
> +++ b/config/Config-kernel.in
> @@ -745,3 +745,17 @@ menu "Filesystem ACL and attr support options"
>   default y if USE_FS_ACL_ATTR
>  
>  endmenu
> +
> +config KERNEL_DEVMEM
> + bool "/dev/mem virtual device support"
> + help
> +   Say Y here if you want to support the /dev/mem device.
> +   The /dev/mem device is used to access areas of physical
> +   memory.
> +
> +config KERNEL_DEVKMEM
> + bool "/dev/kmem virtual device support"
> + help
> +   Say Y here if you want to support the /dev/kmem device. The
> +   /dev/kmem device is rarely used, but can be used for certain
> +   kind of kernel debugging operations.
> 

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


[LEDE-DEV] [PATCH] kernel: add KERNEL_DEVMEM and KERNEL_DEVKMEM

2016-12-17 Thread Hauke Mehrtens
These options are needed to create /dev/mem or /dev/kmem .
/dev/mem is needed by the io tool to access raw hardware memory, which
is helpful when debugging and developing drivers.

Signed-off-by: Hauke Mehrtens 
---
 config/Config-kernel.in | 14 ++
 1 file changed, 14 insertions(+)

diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 3c69c86..3f30013 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -745,3 +745,17 @@ menu "Filesystem ACL and attr support options"
default y if USE_FS_ACL_ATTR
 
 endmenu
+
+config KERNEL_DEVMEM
+   bool "/dev/mem virtual device support"
+   help
+ Say Y here if you want to support the /dev/mem device.
+ The /dev/mem device is used to access areas of physical
+ memory.
+
+config KERNEL_DEVKMEM
+   bool "/dev/kmem virtual device support"
+   help
+ Say Y here if you want to support the /dev/kmem device. The
+ /dev/kmem device is rarely used, but can be used for certain
+ kind of kernel debugging operations.
-- 
2.10.2


___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev