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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sat, 13 Sep 2008 15:13:04 -0400
From:	Jeff Garzik <jeff@...zik.org>
To:	Magnus Damm <magnus.damm@...il.com>
CC:	netdev@...r.kernel.org, eric.miao@...vell.com,
	luca.santini@...sonline.com, nico@....org, linux-sh@...r.kernel.org
Subject: Re: [PATCH] smc91x: SMC_IO_SHIFT platform data support for default
 case

Magnus Damm wrote:
> From: Magnus Damm <damm@...l.co.jp>
> 
> Commit 159198862adad7109bb347bb30a620f67beac45f added SMC_IO_SHIFT
> platform data support. After that ARM board support was added.
> 
> The default case is still missing though, so on SuperH SMC_IO_SHIFT
> is constantly zero regardless of what you pass as platform data.
> 
> Signed-off-by: Magnus Damm <damm@...l.co.jp>
> Test-by: Luca Santini <luca.santini@...sonline.com>
> ---
> 
>  drivers/net/smc91x.h |    2 ++
>  1 file changed, 2 insertions(+)
> 
> --- 0001/drivers/net/smc91x.h
> +++ work/drivers/net/smc91x.h	2008-08-28 20:43:03.000000000 +0900
> @@ -446,6 +446,8 @@ static inline void LPD7_SMC_outsw (unsig
>  #define SMC_CAN_USE_32BIT	1
>  #define SMC_NOWAIT		1
>  
> +#define SMC_IO_SHIFT		(lp->io_shift)
> +
>  #define SMC_inb(a, r)		readb((a) + (r))
>  #define SMC_inw(a, r)		readw((a) + (r))
>  #define SMC_inl(a, r)		readl((a) + (r))

applied


--
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