All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kenneth Johansson <kenneth.johansson@etx.ericsson.se>
To: linuxppc-embedded@lists.linuxppc.org
Cc: kuster@pacbell.net, acmay@acmay.homeip.ne
Subject: IBM ocp I2C circular dependency
Date: Tue, 07 May 2002 15:02:04 +0200	[thread overview]
Message-ID: <3CD7D04C.1E9122A0@etx.ericsson.se> (raw)


i2c-adap-ibm_ocp.c uses
	i2c_iic_add_bus and i2c_iic_del_bus from i2c-algo-ibm_ocp.c

i2c-algo-ibm_ocp.c uses
	iic_ibmocp_waitforpin from i2c-adap-ibm_ocp.c

This makes it impossible to build as a module. I'am not shure how you want to
solv this.

Also I found a problem with the code when I access a i2c memory from
userspace and no chip is present at that address. After that it's not
possible to access anything else on the I2C bus. Works OK as long as I use
addresses that have a device that answers (I think).


--
Kenneth Johansson
Ericsson AB                       Tel: +46 8 404 71 83
Borgafjordsgatan 9                Fax: +46 8 404 72 72
164 80 Stockholm                  kenneth.johansson@etx.ericsson.se

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2002-05-07 13:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-07 13:02 Kenneth Johansson [this message]
2002-05-07 14:04 ` IBM ocp I2C circular dependency Allen Curtis
2002-05-07 15:05   ` Kenneth Johansson
2002-05-07 15:10     ` Allen Curtis
2002-05-07 15:19   ` Armin
2002-05-07 16:16 ` andrew may
2002-05-07 16:42   ` Kenneth Johansson

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=3CD7D04C.1E9122A0@etx.ericsson.se \
    --to=kenneth.johansson@etx.ericsson.se \
    --cc=acmay@acmay.homeip.ne \
    --cc=kuster@pacbell.net \
    --cc=linuxppc-embedded@lists.linuxppc.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.