driver_register() - probe routine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
Using linux 2.6, I have problem with an i2c bus driver. The driver does a driver_register() call in its init entry point. In that process it registers a probe routine, but this one never gets called. As a result the i2c bus is not working, since the i2c bus driver never got a chance to register itself w/ the i2c_add_adapter() function as described in the linux journal article:
http://www.linuxjournal.com/article/7136

Any clues where I should look on why this probe routine is never called by the i2c core driver, or bythe driver core (it is hard to know which one should be responsible for the callback)? My system is based on a freescale ppc MPC8270. I am using the ./drivers/i2c/busses/i2c-mpc8260.c (provided as a patch). Note that I plan to use the i2c-dev.c driver to access my i2c devices (using the /dev/i2c-0 special file).
Thanks a lot
-jfs


	

	
		
___________________________________________________________________________ Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux