net: smc91x: Support Qualcomm MSM development boards.
Subsystems (2)
From: David Brown <[email protected]>
--- drivers/net/smc91x.h | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-)
drivers/net/smc91x.h +14 -0
@@ -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 /*
Signature · 1 line
1.6.3.3
Nicolas Pitre
Acked-byQuoted 4 lines · Daniel Walker
From: David Brown <[email protected]>
Signed-off-by David Brown <[email protected]>Signed-off-by Daniel Walker <[email protected]>
Quoted 34 lines
--- drivers/net/smc91x.h | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-)drivers/net/smc91x.h +14
-0@@ -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 /* Signature · 1 line
1.6.3.3
Quoted 10 lines · Nicolas Pitre
Quoted 4 lines · Daniel Walker
From: David Brown <[email protected]>
Signed-off-by David Brown <[email protected]>Signed-off-by Daniel Walker <[email protected]>Acked-by Nicolas Pitre <[email protected]>
Are you going to send it up stream, or should I?
Daniel
David Miller
maintainerFrom: Daniel Walker <[email protected]>
Date: Fri, 05 Mar 2010 12:05:07 -0800
Quoted 5 lines · Nicolas Pitre
Quoted 4 lines · Daniel Walker
Quoted 3 lines
From: David Brown <[email protected]>
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
Signed-off-by David Brown <[email protected]>Signed-off-by Daniel Walker <[email protected]>Acked-by Nicolas Pitre <[email protected]>Are you going to send it up stream, or should I?
By virtue of having been properly posted to netdev it's in patchwork and therefore I'll integrate it.
Quoted 11 lines · David Miller
From: Daniel Walker <[email protected]>
Date: Fri, 05 Mar 2010 12:05:07 -0800Quoted 8 lines · Nicolas Pitre
Quoted 7 lines · Daniel Walker
Quoted 5 lines
From: David Brown <[email protected]>
Signed-off-by David Brown <[email protected]>Signed-off-by Daniel Walker <[email protected]>
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Acked-by Nicolas Pitre <[email protected]>Are you going to send it up stream, or should I?
By virtue of having been properly posted to netdev it's in patchwork and therefore I'll integrate it.
Well I didn't add [PATCH] to the subject , but I guess that doesn't matter..
Ok.. Thanks.
Daniel
Quoted 5 lines · Daniel Walker
Quoted 4 lines · Nicolas Pitre
Quoted 2 lines · Daniel Walker
From: David Brown <[email protected]>
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
Signed-off-by David Brown <[email protected]>Signed-off-by Daniel Walker <[email protected]>Acked-by Nicolas Pitre <[email protected]>Are you going to send it up stream, or should I?
Please do it.
Nicolas
Quoted 11 lines · David Miller
From: Daniel Walker <[email protected]>
Date: Fri, 05 Mar 2010 12:05:07 -0800Quoted 8 lines · Nicolas Pitre
Quoted 7 lines · Daniel Walker
Quoted 5 lines
From: David Brown <[email protected]>
Signed-off-by David Brown <[email protected]>Signed-off-by Daniel Walker <[email protected]>
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Acked-by Nicolas Pitre <[email protected]>Are you going to send it up stream, or should I?
By virtue of having been properly posted to netdev it's in patchwork and therefore I'll integrate it.
Good.
Nicolas