Intel ICHx bus driver

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

 



Running i2cdetect on ICH9 says:
"I2C Block Write                  yes"

But having a closer look at how the whole thing is implemented proves
that no i2c block write is supported.

The proof:
1. i801_probe turns i801_features to FEATURE_I2C_BLOCK_READ
2. as a sequence in i801_block_transaction
i801_block_transaction_byte_by_byte is called
3. on the other hand i801_block_transaction_byte_by_byte does
   if (read_write == I2C_SMBUS_WRITE)
              outb_p(len, SMBHSTDAT0);
meaning SMBus length.

But what if I want to write I2C's multi-block (without length or even
command before)?
I cannot understand why i801_func turns on I2C_FUNC_SMBUS_WRITE_I2C_BLOCK?

Thanks,
Felix R.
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux