Generic Netdevice

Submitted by lvuong
on November 14, 2008 - 1:33am

Hi,

I want to study the possibility to write a "generic" Netdevice with
the following characteristics :

-The real media is a parameter of the generic Netdevice : For exemple Ethernet with port 0, HDLC,... So that it is the same code handling the different media

Is there a possibility with the Linux kernal architecture to do such a generic device ?

The main problem is to adress the true API (initialisation, transmission, reception) for the peripheric drivers

regards
LAurent