projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3a858f
)
net: smc91x: Support Qualcomm MSM development boards.
author
David Brown
<davidb@quicinc.com>
Fri, 5 Mar 2010 09:12:34 +0000
(09:12 +0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 5 Mar 2010 21:56:40 +0000
(13:56 -0800)
Signed-off-by: David Brown <davidb@quicinc.com>
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
Acked-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/smc91x.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/smc91x.h
b/drivers/net/smc91x.h
index 54799544bda3d1623ac77e84beb253cedd090fef..a6ee883d1b0edc506fdf7000f283cf5bbd4da462 100644
(file)
--- a/
drivers/net/smc91x.h
+++ b/
drivers/net/smc91x.h
@@
-330,6
+330,20
@@
static inline void LPD7_SMC_outsw (unsigned char* a, int r,
#include <unit/smc91111.h>
+#elif defined(CONFIG_ARCH_MSM)
+
+#define SMC_CAN_USE_8BIT 0
+#define SMC_CAN_USE_16BIT 1
+#define SMC_CAN_USE_32BIT 0
+#define SMC_NOWAIT 1
+
+#define SMC_inw(a, r) readw((a) + (r))
+#define SMC_outw(v, a, r) writew(v, (a) + (r))
+#define SMC_insw(a, r, p, l) readsw((a) + (r), p, l)
+#define SMC_outsw(a, r, p, l) writesw((a) + (r), p, l)
+
+#define SMC_IRQ_FLAGS IRQF_TRIGGER_HIGH
+
#else
/*