From: Peter.Milne@d-tacq.com (Peter Milne)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] PATCH- i2c-iop3xx platform driver avoid addressing
Date: Sun, 18 Jun 2006 15:54:42 +0000 [thread overview]
Message-ID: <44957742.80309@d-tacq.com> (raw)
In-Reply-To: <44931779.6050302@d-tacq.com>
Hi Jean
Thanks very much for reviewing this patch, you have given me some useful
insights.
Please consider the revised patch which addresses the issues you raise.
Jean Delvare wrote:
>Hi Peter,
>
>
>>Avoid addressing self when sending a Master address. Follows instruction
>>in Intel 80331/80321 manuals.
>>Ignoring this worked previously on 80321, but causes a hang on i2cdetect
>>on 80331
>>
>>
>
>Can't you simply disable the slave address? You don't seem to use it
>anyway.
>
>
Unfortunately there doesn't seem to be any way to disable the slave address.
>BTW, you must be using an old version of i2cdetect, as the slave address
>appears to be forced to 0x02 in the i2c-iop3xx driver (not a smart
>choice...) and i2cdetect does no more scan this address by default.
>
>
OK, new patch leaves the slave address at default 0.
I note that i2cdetect now scans from 0x3, but I'd still prefer to
prevent writes to the device's own address since this wedges the unit.
>>+#define I2C_ERR_WRITEMYSAR (I2C_ERR+10)
>>
>>
>
>Please use tabs, not spaces, for alignment.
>
>
After forcing emacs to cooperate, tabs it is.
Thanks
Peter.
--
Peter Milne Peter.Milne at d-tacq.com
D-TACQ Solutions Ltd www.d-tacq.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i2c-iop3xx.2.patch
Type: text/x-patch
Size: 2430 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20060618/4d1092ad/attachment.bin
next prev parent reply other threads:[~2006-06-18 15:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-16 20:41 [lm-sensors] PATCH- i2c-iop3xx platform driver avoid addressing self Peter Milne
2006-06-18 9:23 ` [lm-sensors] PATCH- i2c-iop3xx platform driver avoid addressing Jean Delvare
2006-06-18 15:54 ` Peter Milne [this message]
2006-06-18 18:45 ` Jean Delvare
2006-06-18 21:28 ` Peter Milne
2006-06-19 10:11 ` Jean Delvare
2006-06-19 12:17 ` Peter Milne
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=44957742.80309@d-tacq.com \
--to=peter.milne@d-tacq.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.