Hi,
Benoit Audouard wrote:
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 ?
yes, but there were a change in usb policy : before kernel 2.6.11 the
usb-layer already done the conversion, now it is to the driver to to it.
le16_to_cpu don't do anything on littke endian cpu (intel, ...) and swap
high and low byte on big endian cpu (ppc, ...)
In case of doubt I've not yet applied them yet... Matthieu, more ideas ?
The patch is safe to apply.
If you don't aplly it, I will do it tomorow.
Matthieu