From: Uwe_Zeisberger@digi.com (Uwe Zeisberger)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] [PATCH] I2C: add new rx8025 driver
Date: Fri, 03 Feb 2006 09:43:50 +0000 [thread overview]
Message-ID: <20060203094350.GA13665@digi.com> (raw)
In-Reply-To: <20060201102335.GA8223@digi.com>
Hallo Jean,
> > (...) And i2c_smbus_xfer_emulated looks to me
> > as if it were not possible to use it when my adapter doesn't have
> > algo->smbus_xfer.
>
> Not correct. The i2c-core is able to emulate algo->smbus_xfer using
> algo->master_xfer. See i2c_smbus_xfer() in i2c-core.c for the test, and
> i2c_smbus_xfer_emulated() for the implementation.
I checked that, but my short-term memory played a joke on me. When
calling i2c_smbus_read_i2c_block_data(...), i2c_smbus_xfer_emulated is
called with size = I2C_SMBUS_I2C_BLOCK_DATA, not I2C_SMBUS_BLOCK_DATA.
If it were I2C_SMBUS_BLOCK_DATA (together with read_write =
I2C_SMBUS_READ) it would fail.
OK, so you're right once more ...
Uwe
--
Uwe Zeisberger
FS Forth-Systeme GmbH, A Digi International Company
Kueferstrasse 8, D-79206 Breisach, Germany
Phone: +49 (7667) 908 0 Fax: +49 (7667) 908 200
Web: www.fsforth.de, www.digi.com
next prev parent reply other threads:[~2006-02-03 9:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-01 10:23 [lm-sensors] [PATCH] I2C: add new rx8025 driver Uwe Zeisberger
2006-02-01 19:23 ` Jean Delvare
2006-02-02 8:39 ` Uwe Zeisberger
2006-02-03 8:51 ` Uwe Zeisberger
2006-02-03 9:16 ` Jean Delvare
2006-02-03 9:43 ` Uwe Zeisberger [this message]
2006-02-03 13:43 ` Uwe Zeisberger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060203094350.GA13665@digi.com \
--to=uwe_zeisberger@digi.com \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.