[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <90A7E81AE28BAE4CBDDB3B35F187D264402F0018@CHN-SV-EXMX02.mchp-main.com>
Date: Fri, 19 Feb 2016 19:29:46 +0000
From: <Bryan.Whitehead@...rochip.com>
To: <andrew@...n.ch>
CC: <davem@...emloft.net>, <f.fainelli@...il.com>,
<netdev@...r.kernel.org>
Subject: RE: [PATCH net-next,V2] Add LAN9352 Ethernet Driver
> From: Andrew Lunn [mailto:andrew@...n.ch]
> Sent: Tuesday, February 16, 2016 5:16 PM
>
> You are already 1/2 way to a DSA driver, since you have a MAC driver. So i
> agree with David, do it right and add a simple DSA driver.
>
Andrew,
I've done a little research on DSA.
I've read Documentation/networking/dsa/dsa.txt
And I've looked over some examples in drivers/net/dsa/
It appears there are about 40 functions to implement.
I see examples from only 2 manufacturers, and they average more than 2000 lines of code.
I'm not yet sure how it attaches to the underlying Ethernet driver.
And I have no idea how I would test it at the end.
Given these issues, it will be hard to sell it to my manager.
Since you claim it is simple. Can you explain your reasons?
I've never done a DSA driver before. Given that, can you generally outline the steps.
If it can be partly implemented, which parts should be implemented first?
I appreciate any pointers you can provide.
Bryan
Powered by blists - more mailing lists