Hi,
After svetljo patch,
https://mail.gna.org/public/eagleusb-dev/2005-05/msg00001.html

here is another one from the forum :
http://forum.eagle-usb.org/viewtopic.php?p=20541#20541

I'm not sure how cpu_to_be16 works ?
seems the hexadecimal value is byte-reversed to make it work on ppc, would
this be compatible with x86 ?
Does cpu_to_be16 exist in kernel-2.4 or only since kernel-2.6.11 ?

uh oh after googling a bit I found they exist since 2.1.10 and 2.1.43 ;-)
http://paine.wiau.man.ac.uk/pub/doc_vxl/contrib/oul/oufgl/html/sysdep_8h-source.html#l00173
maybe cpu_to_le would avoid to reverse the order ? (I suppose le is little
endian and be is big endian...).
In the current source, sl33p3r mostly used cpu_to_le (to keep the order I
suppose).

In case of doubt I've not yet applied them yet... Matthieu, more ideas ?

@++
Ben'. aka baud123


Reply via email to