[RESEND][PATCH] fix w1 for big-endian

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi
 In the 2.6.13-rc1 code the "rn" structure is in the wrong-endianness
when
passed to w1_attach_slave_device(). This causes problems like the
family and crc being swapped around. The following patch fixes the
problem for me.

 I sent this earlier to greg k-h & lkml, but he said I should send it
here first.

Signed-off-by: Roger Blofeld <blofeldus at yahoo.com>

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: w1-big-endian.patch.txt
Url: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050630/eff65ec2/attachment.txt 


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux