Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1c5ea33 authored by Magnus Damm's avatar Magnus Damm Committed by Jeff Garzik
Browse files

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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))