linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* MPC8260 I2C Problem
@ 2007-01-25  3:21 jimmy liu
  2007-01-25  3:36 ` Li Yang-r58472
  0 siblings, 1 reply; 7+ messages in thread
From: jimmy liu @ 2007-01-25  3:21 UTC (permalink / raw)
  To: embedded linuxppc

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-01-27  4:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-25  3:21 MPC8260 I2C Problem jimmy liu
2007-01-25  3:36 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).