Re: Use of swab16() in drivers/hwmon/*.c

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

 



Hi,

On 01/07/2011 11:59 AM, Jean Delvare wrote:
> This has nothing to do with the host's endianess. This has to do with
> the fact that the SMBus specification says that words are sent low byte
> first but almost all hardware monitoring devices send the high byte
> first (because it makes a lot more sense.)

Thanks! I just ignored that the word implementation of Linux' SMBus
(I2C_SMBUS_WORD_DATA etc.) already takes care of that.

bye,
  Roland

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors


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

  Powered by Linux