lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <alpine.LFD.2.00.1003051449000.31128@xanadu.home>
Date:	Fri, 05 Mar 2010 14:49:50 -0500 (EST)
From:	Nicolas Pitre <nico@...xnic.net>
To:	Daniel Walker <dwalker@...eaurora.org>
Cc:	David Brown <davidb@...cinc.com>, netdev@...r.kernel.org
Subject: Re: net: smc91x: Support Qualcomm MSM development boards.

On Fri, 5 Mar 2010, Daniel Walker wrote:

> From: David Brown <davidb@...cinc.com>
> 
> Signed-off-by: David Brown <davidb@...cinc.com>
> Signed-off-by: Daniel Walker <dwalker@...eaurora.org>

Acked-by: Nicolas Pitre <nico@...xnic.net>


> ---
>  drivers/net/smc91x.h |   14 ++++++++++++++
>  1 files changed, 14 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/net/smc91x.h b/drivers/net/smc91x.h
> index 5479954..a6ee883 100644
> --- a/drivers/net/smc91x.h
> +++ b/drivers/net/smc91x.h
> @@ -330,6 +330,20 @@ static inline void LPD7_SMC_outsw (unsigned char* a, int r,
>  
>  #include <unit/smc91111.h>
>  
> +#elif defined(CONFIG_ARCH_MSM)
> +
> +#define SMC_CAN_USE_8BIT	0
> +#define SMC_CAN_USE_16BIT	1
> +#define SMC_CAN_USE_32BIT	0
> +#define SMC_NOWAIT		1
> +
> +#define SMC_inw(a, r)		readw((a) + (r))
> +#define SMC_outw(v, a, r)	writew(v, (a) + (r))
> +#define SMC_insw(a, r, p, l)	readsw((a) + (r), p, l)
> +#define SMC_outsw(a, r, p, l)	writesw((a) + (r), p, l)
> +
> +#define SMC_IRQ_FLAGS		IRQF_TRIGGER_HIGH
> +
>  #else
>  
>  /*
> -- 
> 1.6.3.3
> 
> 
> 
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ