Commit d1c5ea33 authored by Magnus Damm's avatar Magnus Damm Committed by 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: default avatarMagnus Damm <damm@igel.co.jp>
Test-by: default avatarLuca Santini <luca.santini@spesonline.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment