Hi,
Benoît Audouard wrote:
Le mardi 04 janvier 2005 à 22:56 +0100, Robert Siemer a écrit :
On Tue, Jan 04, 2005 at 09:18:35PM +0100, matthieu castet wrote:
Hi,
I made a version of the driver that use the new library usb-atm from
2.6.10.
Nice to see! I appreciate this move.
me too ;-)
I see it as less code to maintain and more compliant with other atm
drivers ? Am I right (or totally wrong, as often ;-) )
Yes...
For example it could support IPV6 without any modification in LLC mode.
In VCMUX mode it won't work because you could only send/receive a
protocol : IPV4 in the rfc about ip over atm(there is no header for
telling the protocol we are sending). But if the rfc is upgraded, it
will be add in atm core, eagle-usb will had nothing to do...
I had three questions :
- can it work with PPPoA VCMux and other encapsulations ? (I do not see
why not)
yes using pppoa kernel module + userspace plugin.
It work also with pppoe using br2684, and routed ip.
- do you say it applies *only* with kernel-2.6.10 or can it work with
older kernels ? ok this one should be available soon with latest
distributions but having it working with 2.6.3+ would be better... I hope
we won't have 2.4.18 around for too long a time ;-) , even though if it
worked with 2.4.28 it would be fine...
May be it is possible to compile usb-atm as an external module. usb-atm
is made by speedtouch developper, we should how they manage version.
For 2.4, it should be a bit harder : there are more and more difference
between these kernels.
But if we want to do something for inclusion in kernel, 2.4 and 2.6 old
version shouldn't be a problem...
I let sl33p3r see if it can be included with a make option (and #if
#endif sections...) or if it is more difficult : maybe you've an idea
mathieu to maintain both current version (for compatibility's sake with
older kernel) and your enhancement ?
I think it will be very difficult to keep ifdef. Actualy I try to don't
touch too much code, but a cleanning is needed.
I think a branch is need and the modification should be commit in both
version if necessary.
BTW, if you've got some documentation to add on http://dev.eagle-usb.org
feel free to create a page (for example in order to apply the patch,
some things worth knowing to take it into account, some links to what
helped you develop it... anything...).
Yes, I will try to write some info, when I have some free time.
Matthieu