On 10/22/08 07:56, Nils Goroll wrote:
> Hi,
>
> I am working on an driver for Option HSUPA (3G WWAN) data cards which provide 
> a 
> network interface rather than a serial interface for data transfer.
>
> I would like to avoid duplicate work in future, so I would like to use the 
> GLDv3 
> interface from the start. Yes, I am aware that it's not stable yet, but my 
> impression is that starting with GLDv2 would be less effort then starting 
> with 
> v2 and changing the driver later (correct?).
>
> I've read a couple of blogs (in particular Garret's, which is helpful - 
> thanks) 
> but many good blog entries were from 2007, so I my question is if the old 
> recommendation to use afn, bge and e1000g as references still holds, or if 
> anyone would recommend a different driver as an implementation reference?
>   

afe is an excellent reference for a "simple" 100Mbps ethernet driver.  
If you need to support more complex devices (gigabit, hardware offload, 
etc.) then e1000g or bge would be better, but they are considerably more 
complex drivers.

Of course, for a 3G card, what is the interface?  Does it emulate 
ethernet?  Or is it really a PPP link?  Or something else?  If the 
device appears as an emulated ethernet device, then you're going down 
the right road.  If it is something else, then you may be in for 
substantially more effort, as GLDv3 does not support very many different 
MAC types.  (In particular, anything that falls outside of 802 style 
addressing is probably going to be a significant amount of effort.  And 
even within that, if its not a MAC type that is already handled, it 
might be "challenging".)

    -- Garrett
> Thanks, Nils
> _______________________________________________
> networking-discuss mailing list
> [email protected]
>   

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to