Patchwork make ndiswrapper available on X86 only

login
register
mail settings
Submitter Nicolas Pitre
Date July 13, 2010, 4:58 a.m.
Message ID <alpine.LFD.2.00.1007130056030.10598@xanadu.home>
Download mbox | patch
Permalink /patch/58771/
State Accepted
Delegated to: Leann Ogasawara
Headers show

Comments

Nicolas Pitre - July 13, 2010, 4:58 a.m.
Especially when it gets enabled by default in Kconfig.

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Tim Gardner - July 13, 2010, 1:09 p.m.
On 07/12/2010 10:58 PM, Nicolas Pitre wrote:
>
> Especially when it gets enabled by default in Kconfig.
>
> Signed-off-by: Nicolas Pitre<nicolas.pitre@linaro.org>
>
> diff --git a/ubuntu/ndiswrapper/Kconfig b/ubuntu/ndiswrapper/Kconfig
> index 554d557..32eb9dd 100644
> --- a/ubuntu/ndiswrapper/Kconfig
> +++ b/ubuntu/ndiswrapper/Kconfig
> @@ -1,4 +1,4 @@
>   config NDISWRAPPER
>   	tristate "Wrapper for Windows NDIS network drivers"
> -	depends on NET
> +	depends on NET&&  X86
>   	default m
>

Acked-by: Tim Gardner <tim.gardner@canonical.com>

Leann - please add to the commit log that there are several functions in 
ntoskernel.* with inline x86 assembler (as the patch justification). 
This patch will likely require an updateconfigs pass since I'm sure it 
will jostle the order of things.

rtg
Leann Ogasawara - July 13, 2010, 5:18 p.m.
Applied to Maverick linux master with minor changes to the commit
message.

Thanks,
Leann

On Tue, 2010-07-13 at 00:58 -0400, Nicolas Pitre wrote:
> Especially when it gets enabled by default in Kconfig.
> 
> Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
> 
> diff --git a/ubuntu/ndiswrapper/Kconfig b/ubuntu/ndiswrapper/Kconfig
> index 554d557..32eb9dd 100644
> --- a/ubuntu/ndiswrapper/Kconfig
> +++ b/ubuntu/ndiswrapper/Kconfig
> @@ -1,4 +1,4 @@
>  config NDISWRAPPER
>  	tristate "Wrapper for Windows NDIS network drivers"
> -	depends on NET
> +	depends on NET && X86
>  	default m
>

Patch

diff --git a/ubuntu/ndiswrapper/Kconfig b/ubuntu/ndiswrapper/Kconfig
index 554d557..32eb9dd 100644
--- a/ubuntu/ndiswrapper/Kconfig
+++ b/ubuntu/ndiswrapper/Kconfig
@@ -1,4 +1,4 @@ 
 config NDISWRAPPER
 	tristate "Wrapper for Windows NDIS network drivers"
-	depends on NET
+	depends on NET && X86
 	default m