netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Driver for embedded switch Micrel KS8995MA
       [not found] <CAMVnO+n1g1rV_xLhqHONFcSBxJJ6wU3a8vzQ623jZKv0wYnh+A@mail.gmail.com>
@ 2011-12-13 18:33 ` Frederic LAMBERT
  2011-12-13 18:37   ` Florian Fainelli
  0 siblings, 1 reply; 4+ messages in thread
From: Frederic LAMBERT @ 2011-12-13 18:33 UTC (permalink / raw)
  To: netdev

I found an quite old driver on the net for the 5-ports 10/100 embedded
switch Micrel KS8995MA.
It had to be updated a little bit because a parameter was missing to
the ks8995_registers_read() & write() functions.

I haven't been able to contact its original author, Gabor Juhos, who
wrote it in 2008 under GPL v2.

Is it possible to submit this driver as a patch to be included in the
distribution?
If yes, what would be the best place? driver/net/phy? driver/net/ethernet?

Thanks for advices,
--
Frederic

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Driver for embedded switch Micrel KS8995MA
  2011-12-13 18:33 ` Driver for embedded switch Micrel KS8995MA Frederic LAMBERT
@ 2011-12-13 18:37   ` Florian Fainelli
  2011-12-13 19:49     ` Gabor Juhos
  0 siblings, 1 reply; 4+ messages in thread
From: Florian Fainelli @ 2011-12-13 18:37 UTC (permalink / raw)
  To: Frederic LAMBERT; +Cc: netdev, juhosg

Hello,

On 12/13/11 19:33, Frederic LAMBERT wrote:
> I found an quite old driver on the net for the 5-ports 10/100 embedded
> switch Micrel KS8995MA.
> It had to be updated a little bit because a parameter was missing to
> the ks8995_registers_read()&  write() functions.
>
> I haven't been able to contact its original author, Gabor Juhos, who
> wrote it in 2008 under GPL v2.

Gabor is responding pretty quickly in general. You are talking about 
this particular driver?

https://dev.openwrt.org/browser/trunk/package/spi-ks8995/src/spi_ks8995.c

>
> Is it possible to submit this driver as a patch to be included in the
> distribution?
> If yes, what would be the best place? driver/net/phy? driver/net/ethernet?

drivers/net/phy is the most appropriate place since it's a switch driver 
but you certainly want to get in touch with Gabor to deal with this 
driver inclusion first.
--
Florian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Driver for embedded switch Micrel KS8995MA
  2011-12-13 18:37   ` Florian Fainelli
@ 2011-12-13 19:49     ` Gabor Juhos
       [not found]       ` <CAMVnO+n38nMTYc7nRfbywidNRM_OYPW8nT1SNAKZyxmhCBb3AA@mail.gmail.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Gabor Juhos @ 2011-12-13 19:49 UTC (permalink / raw)
  To: Florian Fainelli; +Cc: Frederic LAMBERT, netdev

Hi,

> On 12/13/11 19:33, Frederic LAMBERT wrote:
>> I found an quite old driver on the net for the 5-ports 10/100 embedded
>> switch Micrel KS8995MA.
>> It had to be updated a little bit because a parameter was missing to
>> the ks8995_registers_read()&  write() functions.
>>
>> I haven't been able to contact its original author, Gabor Juhos, who
>> wrote it in 2008 under GPL v2.

Sorry, I did not see your e-mail. It has been marked as spam by one of my mail
filters.

> Gabor is responding pretty quickly in general. You are talking about this
> particular driver?
> 
> https://dev.openwrt.org/browser/trunk/package/spi-ks8995/src/spi_ks8995.c
> 
>>
>> Is it possible to submit this driver as a patch to be included in the
>> distribution?

The driver was used for an IXP4xx based board originally. I have bricked my
board a long time ago, so I can't test the driver anymore. If you can use the
driver for anything, feel free to send that upstream.

-Gabor

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Driver for embedded switch Micrel KS8995MA
       [not found]       ` <CAMVnO+n38nMTYc7nRfbywidNRM_OYPW8nT1SNAKZyxmhCBb3AA@mail.gmail.com>
@ 2011-12-13 20:15         ` Gabor Juhos
  0 siblings, 0 replies; 4+ messages in thread
From: Gabor Juhos @ 2011-12-13 20:15 UTC (permalink / raw)
  To: Frederic LAMBERT; +Cc: Florian Fainelli, netdev

2011.12.13. 20:58 keltezéssel, Frederic LAMBERT írta:
> Wow, the list is safer than direct email !:-). 

Yes, especially if you don't forget to reply to all recipients. ;)

> Thanks to Florian and you for the answer.
> 
> Your driver helped me a lot because, due to an ambiguity of the
> datasheet, I could'nt understand why the switch wouldn't want to
> switch... until I add your driver in my kernel, and your xxx_start()
> write 0x0001 into reg#1!
> 
> Anyway, I think the driver can help others as it did for me, so I want
> to submit it (with the small update on read() and write() functions).
> 
> Is this list the best place to do that?

Yes, I think so.

-Gabor

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-12-13 20:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAMVnO+n1g1rV_xLhqHONFcSBxJJ6wU3a8vzQ623jZKv0wYnh+A@mail.gmail.com>
2011-12-13 18:33 ` Driver for embedded switch Micrel KS8995MA Frederic LAMBERT
2011-12-13 18:37   ` Florian Fainelli
2011-12-13 19:49     ` Gabor Juhos
     [not found]       ` <CAMVnO+n38nMTYc7nRfbywidNRM_OYPW8nT1SNAKZyxmhCBb3AA@mail.gmail.com>
2011-12-13 20:15         ` Gabor Juhos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).