1 Nov 2008 09:48
Linux Device Driver ZL50408
Linu Cherian <linucherian <at> gmail.com>
2008-11-01 08:48:05 GMT
2008-11-01 08:48:05 GMT
On Fri Oct 24, 2008 at 07:58:49AM +0530, Linu Cherian wrote: > > Caleb, > I would like to help on this. I have worked on the management > driver of similar chip. Probably we need two seperate drivers, CMIIW. > - management driver with a char interface for switch management > - network driver for managing the data packets > > and Iam interested to work on the management driver if you agree with > the above. Or do we have a better way of doing it? Caleb, iam posting the top level design to the list for feedbacks. The processor interface provides three basic operations 1. read/write configuration register 2. send/receive Contorl command frames - for reading port statistics, manipulating the MAC table etc. 3. send/receive Ethernet frame This is the case in which the CPU management interface is used as a switch data port. In this case, CPU has to be assigned a MAC address. Obviously, the driver for the ZL50408, should provide mechanisms to carry out the above three operations. * Operations 1 & 2 can be exported using two char dev interfaces, say /dev/zlreg and /dev/zlctrlfrm. User space applications can make use of read/write system calls to do configuration register access or to send/receive control frames.(Continue reading)
RSS Feed