make ndiswrapper available on X86 only

Submitted by Nicolas Pitre on July 13, 2010, 4:58 a.m.

Details

Message ID alpine.LFD.2.00.1007130056030.10598@xanadu.home
State Accepted
Delegated to: Leann Ogasawara
Headers show

Commit Message

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>

Comments

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 hide | download patch | download mbox

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