* net: smc91x: Support Qualcomm MSM development boards.
@ 2010-03-05 19:12 Daniel Walker
2010-03-05 19:49 ` Nicolas Pitre
0 siblings, 1 reply; 7+ messages in thread
From: Daniel Walker @ 2010-03-05 19:12 UTC (permalink / raw)
To: Nicolas Pitre; +Cc: David Brown, netdev
From: David Brown <davidb@quicinc.com>
Signed-off-by: David Brown <davidb@quicinc.com>
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
---
drivers/net/smc91x.h | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/drivers/net/smc91x.h b/drivers/net/smc91x.h
index 5479954..a6ee883 100644
--- 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
/*
--
1.6.3.3
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: net: smc91x: Support Qualcomm MSM development boards.
2010-03-05 19:12 net: smc91x: Support Qualcomm MSM development boards Daniel Walker
@ 2010-03-05 19:49 ` Nicolas Pitre
2010-03-05 20:05 ` Daniel Walker
0 siblings, 1 reply; 7+ messages in thread
From: Nicolas Pitre @ 2010-03-05 19:49 UTC (permalink / raw)
To: Daniel Walker; +Cc: David Brown, netdev
On Fri, 5 Mar 2010, Daniel Walker wrote:
> From: David Brown <davidb@quicinc.com>
>
> Signed-off-by: David Brown <davidb@quicinc.com>
> Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
Acked-by: Nicolas Pitre <nico@fluxnic.net>
> ---
> drivers/net/smc91x.h | 14 ++++++++++++++
> 1 files changed, 14 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/smc91x.h b/drivers/net/smc91x.h
> index 5479954..a6ee883 100644
> --- 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
>
> /*
> --
> 1.6.3.3
>
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: net: smc91x: Support Qualcomm MSM development boards.
2010-03-05 19:49 ` Nicolas Pitre
@ 2010-03-05 20:05 ` Daniel Walker
2010-03-05 20:09 ` David Miller
2010-03-05 20:57 ` Nicolas Pitre
0 siblings, 2 replies; 7+ messages in thread
From: Daniel Walker @ 2010-03-05 20:05 UTC (permalink / raw)
To: Nicolas Pitre; +Cc: David Brown, netdev
On Fri, 2010-03-05 at 14:49 -0500, Nicolas Pitre wrote:
> On Fri, 5 Mar 2010, Daniel Walker wrote:
>
> > From: David Brown <davidb@quicinc.com>
> >
> > Signed-off-by: David Brown <davidb@quicinc.com>
> > Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
>
> Acked-by: Nicolas Pitre <nico@fluxnic.net>
>
>
Are you going to send it up stream, or should I?
Daniel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: net: smc91x: Support Qualcomm MSM development boards.
2010-03-05 20:05 ` Daniel Walker
@ 2010-03-05 20:09 ` David Miller
2010-03-05 20:11 ` Daniel Walker
2010-03-05 20:57 ` Nicolas Pitre
2010-03-05 20:57 ` Nicolas Pitre
1 sibling, 2 replies; 7+ messages in thread
From: David Miller @ 2010-03-05 20:09 UTC (permalink / raw)
To: dwalker; +Cc: nico, davidb, netdev
From: Daniel Walker <dwalker@codeaurora.org>
Date: Fri, 05 Mar 2010 12:05:07 -0800
> On Fri, 2010-03-05 at 14:49 -0500, Nicolas Pitre wrote:
>> On Fri, 5 Mar 2010, Daniel Walker wrote:
>>
>> > From: David Brown <davidb@quicinc.com>
>> >
>> > Signed-off-by: David Brown <davidb@quicinc.com>
>> > Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
>>
>> Acked-by: Nicolas Pitre <nico@fluxnic.net>
>>
>>
>
> 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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: net: smc91x: Support Qualcomm MSM development boards.
2010-03-05 20:09 ` David Miller
@ 2010-03-05 20:11 ` Daniel Walker
2010-03-05 20:57 ` Nicolas Pitre
1 sibling, 0 replies; 7+ messages in thread
From: Daniel Walker @ 2010-03-05 20:11 UTC (permalink / raw)
To: David Miller; +Cc: nico, davidb, netdev
On Fri, 2010-03-05 at 12:09 -0800, David Miller wrote:
> From: Daniel Walker <dwalker@codeaurora.org>
> Date: Fri, 05 Mar 2010 12:05:07 -0800
>
> > On Fri, 2010-03-05 at 14:49 -0500, Nicolas Pitre wrote:
> >> On Fri, 5 Mar 2010, Daniel Walker wrote:
> >>
> >> > From: David Brown <davidb@quicinc.com>
> >> >
> >> > Signed-off-by: David Brown <davidb@quicinc.com>
> >> > Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
> >>
> >> Acked-by: Nicolas Pitre <nico@fluxnic.net>
> >>
> >>
> >
> > 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: net: smc91x: Support Qualcomm MSM development boards.
2010-03-05 20:09 ` David Miller
2010-03-05 20:11 ` Daniel Walker
@ 2010-03-05 20:57 ` Nicolas Pitre
1 sibling, 0 replies; 7+ messages in thread
From: Nicolas Pitre @ 2010-03-05 20:57 UTC (permalink / raw)
To: David Miller; +Cc: dwalker, davidb, netdev
On Fri, 5 Mar 2010, David Miller wrote:
> From: Daniel Walker <dwalker@codeaurora.org>
> Date: Fri, 05 Mar 2010 12:05:07 -0800
>
> > On Fri, 2010-03-05 at 14:49 -0500, Nicolas Pitre wrote:
> >> On Fri, 5 Mar 2010, Daniel Walker wrote:
> >>
> >> > From: David Brown <davidb@quicinc.com>
> >> >
> >> > Signed-off-by: David Brown <davidb@quicinc.com>
> >> > Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
> >>
> >> Acked-by: Nicolas Pitre <nico@fluxnic.net>
> >>
> >>
> >
> > 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: net: smc91x: Support Qualcomm MSM development boards.
2010-03-05 20:05 ` Daniel Walker
2010-03-05 20:09 ` David Miller
@ 2010-03-05 20:57 ` Nicolas Pitre
1 sibling, 0 replies; 7+ messages in thread
From: Nicolas Pitre @ 2010-03-05 20:57 UTC (permalink / raw)
To: Daniel Walker; +Cc: David Brown, netdev
On Fri, 5 Mar 2010, Daniel Walker wrote:
> On Fri, 2010-03-05 at 14:49 -0500, Nicolas Pitre wrote:
> > On Fri, 5 Mar 2010, Daniel Walker wrote:
> >
> > > From: David Brown <davidb@quicinc.com>
> > >
> > > Signed-off-by: David Brown <davidb@quicinc.com>
> > > Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
> >
> > Acked-by: Nicolas Pitre <nico@fluxnic.net>
> >
> >
>
> Are you going to send it up stream, or should I?
Please do it.
Nicolas
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-03-05 20:57 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-05 19:12 net: smc91x: Support Qualcomm MSM development boards Daniel Walker
2010-03-05 19:49 ` Nicolas Pitre
2010-03-05 20:05 ` Daniel Walker
2010-03-05 20:09 ` David Miller
2010-03-05 20:11 ` Daniel Walker
2010-03-05 20:57 ` Nicolas Pitre
2010-03-05 20:57 ` Nicolas Pitre
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox