projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6bc372
)
smc91x: SMC_IO_SHIFT platform data support for default case
author
Magnus Damm
<
[email protected]
>
Mon, 8 Sep 2008 05:02:34 +0000
(14:02 +0900)
committer
Jeff Garzik
<
[email protected]
>
Wed, 24 Sep 2008 22:48:55 +0000
(18:48 -0400)
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 <
[email protected]
>
Test-by: Luca Santini <
[email protected]
>
Signed-off-by: Jeff Garzik <
[email protected]
>
drivers/net/smc91x.h
patch
|
blob
|
history
diff --git
a/drivers/net/smc91x.h
b/drivers/net/smc91x.h
index 997e7f1d5c6e496b42bd602baf473f16acfd45e2..edea0732f1454dc0b5ee30a7e02256400dcc70c2 100644
(file)
--- a/
drivers/net/smc91x.h
+++ b/
drivers/net/smc91x.h
@@
-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))