提交 d1c5ea33 编写于 作者: M Magnus Damm 提交者: Jeff Garzik

smc91x: SMC_IO_SHIFT platform data support for default case

Commit 15919886 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: NMagnus Damm <damm@igel.co.jp>
Test-by: NLuca Santini <luca.santini@spesonline.com>
Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
上级 d6bc372e
......@@ -446,6 +446,8 @@ static inline void LPD7_SMC_outsw (unsigned char* a, int r,
#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))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册