netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] smc91x: SMC_IO_SHIFT platform data support for default case
@ 2008-09-08  5:02 Magnus Damm
  2008-09-08 11:19 ` Simon Horman
  2008-09-13 19:13 ` Jeff Garzik
  0 siblings, 2 replies; 4+ messages in thread
From: Magnus Damm @ 2008-09-08  5:02 UTC (permalink / raw)
  To: netdev; +Cc: eric.miao, Magnus Damm, luca.santini, nico, linux-sh

From: Magnus Damm <damm@igel.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@igel.co.jp>
Test-by: Luca Santini <luca.santini@spesonline.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))

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-09-13 19:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-08  5:02 [PATCH] smc91x: SMC_IO_SHIFT platform data support for default case Magnus Damm
2008-09-08 11:19 ` Simon Horman
2008-09-10  7:44   ` Magnus Damm
2008-09-13 19:13 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).