All of lore.kernel.org
 help / color / mirror / Atom feed
From: jimmy liu <jimmyzhmliu@yahoo.com>
To: embedded linuxppc <linuxppc-embedded@ozlabs.org>
Subject: MPC8260 I2C Problem
Date: Wed, 24 Jan 2007 19:21:40 -0800 (PST)	[thread overview]
Message-ID: <78452.12201.qm@web53101.mail.yahoo.com> (raw)

I download the linux kernel 2.6.19 from
ftp://ftp.denx.de/pub/linux/ site.

When I add mpc8260 I2C driver to Linux kernel 2.6.19,
the init function looks like that
static int __init fsl_i2c_init(void)
{
	return driver_register(&fsl_i2c_driver);
}
I set the debug on, and found that the fsl_i2c_probe()
function is never called, so there is not I2C device
enabled, and the user space function
open("/dev/i2c-0",O_RDWR) always return error. I set
something wrong? Could somebody help me?




 
____________________________________________________________________________________
Get your own web address.  
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL

             reply	other threads:[~2007-01-25  3:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-25  3:21 jimmy liu [this message]
2007-01-25  3:36 ` MPC8260 I2C Problem Li Yang-r58472
2007-01-25  4:11   ` gear
2007-01-25 17:06   ` jimmy liu
2007-01-26  5:50     ` Li Yang-r58472
2007-01-26 14:53       ` jimmy liu
2007-01-27  4:31       ` jimmy liu

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=78452.12201.qm@web53101.mail.yahoo.com \
    --to=jimmyzhmliu@yahoo.com \
    --cc=linuxppc-embedded@ozlabs.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.