This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Writing network and phy drivers

Guru 20755 points

Hello,

I am building a network driver using fpga. I wanted to choose a template from kernel source.

1. I see in /drivers/net

both smc911x.c & smsc911x.c

It seems that they overlap , so why there are two ? Which is better choise as a template ?

2. It seems that each of the above (smc911x.c ,  smsc911x.c) use different attitude with phy. smc911.x implement the phy inside the driver, while smsc911x connects to anpther phy driver (generic phy?) . Which can be a simpler/better choice when building simple driver with fpga ?

Thanks,

Ran