Failed to backport i2c-ali1563.c from linux-2.6 to 2.4

Huang0 at Winbond.com.tw Huang0 at Winbond.com.tw
Fri Jan 28 09:26:13 CET 2005


Dear Patrick

After a further investigation with i2c-ali1563.c, I find that
only such functions as ali1563_init,ali1563_probe,ali1563_setup,
ali1563_func,ali1563_access, ali1563_transaction have been
executed when I load the related modules.
Some of the other functions have NOT been executed.

I'm NOT familiar with some debug messages written by you,
Such as:
Transaction (pre): STS=00, CNTL1=00, CNTL2=10, CMD=91, ADD=40, DAT0=00, DAT1=00
Transaction (post): STS=44, CNTL1=00, CNTL2=10, CMD=91, ADD=40, DAT0=00, DAT1=00

I attached the log message when I load the modules, you may refer
it when you are free, it is quite detailed, maybe you can give me
the help by it. :-)

I also attached my i2c-ali1563.c with a lot of debug messages,
so that you can analyze the log message.


Thanks a lot

Best Regards
Chunhao


> -----Original Message-----
> From: PI14 HUANG0
> Sent: 2005Äê1ÔÂ28ÈÕ 09:51
> To: 'Patrick Mochel'
> Cc: 'LM Sensors'; PI14 DZSHEN; PI10 LHHsu; PI13 CFLi
> Subject: RE: Failed to backport i2c-ali1563.c from linux-2.6 to 2.4
> 
> Hi Patrick
> 
> Thanks for your reply.
> 
> > If I get a chance, I'll take a look at it and try to get a 2.4 kernel
> > running, but my time is very limited right now, so I can't make any guarantees.
> OK, I see, I wish you have some free time in the near future. :-)
> 
> Since I have some time now, as well as the hardware/software platform, maybe
> you can give me some guidance as possible as you can, so that I can make it
> work as soon as possible. :-)
> 
> 
> > Why are you using 2.4 anyway? 2.6 is much better in many respects. :)
> There are about two reasons for us to choose 2.4 as our platform:
> (1) Our custom asked us to make Winbond W83792D chip work on linux-2.4,
>   especially on RedHat 9 at first.
> (2) It seems that lm_sensors for 2.6 is NOT so mature as 2.4(maybe, just
>   my personal guess )
> 
> 
> Thanks
> 
> Best Regards
> Chunhao
> 
> 
> > -----Original Message-----
> > From: Patrick Mochel [mailto:mochel at digitalimplant.org]
> > Sent: 2005Äê1ÔÂ28ÈÕ 01:20
> > To: PI14 HUANG0
> > Subject: RE: Failed to backport i2c-ali1563.c from linux-2.6 to 2.4
> >
> >
> > On Thu, 27 Jan 2005 Huang0 at Winbond.com.tw wrote:
> >
> > > Hi Patrick Mochel
> > >
> > > I want to backport your i2c-ali1563.c from linux-2.6 to 2.4,
> > > Would you please give me some help? Please refer to the follwing
> > > content for more information.
> >
> > I've seen your original messages, since you've cc'd me. I'm glad that you
> > took on the task of backporting the driver. I unfortunately do not work
> > with 2.4 much, and don't know anything about the i2c subsystem (the
> > ali1563 driver was my first work in it). If I get a chance, I'll take a
> > look at it and try to get a 2.4 kernel running, but my time is very
> > limited right now, so I can't make any guarantees.
> >
> > Why are you using 2.4 anyway? 2.6 is much better in many respects. :)
> >
> >
> > 	Patrick


===========================================================================================The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original author of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such person, please kindly reply the sender indicating accordingly and delete all copies of it from your computer and network server immediately. We thank you for your cooperation. It is advisable that any unauthorized use of confidential information of Winbond is strictly prohibited; and any information in this email that does not relate to the official business of Winbond shall be deemed as neither given nor endorsed by Winbond.===========================================================================================If your computer is unable to decode Chinese font, please ignore the following message. They essentially repeat the  English statement above.¥»«H¥ó¤º©Ò§tµØ¨¹¹q¤lªº°]²£©Ê¾÷±K©Ê¸ê°T, ¶È±ÂÅv­ìµo«H¤H«ü©w¤§¦¬«H¤H¨ú¾\¤§¥Î. °²¨Ï±z¨Ã«D³Q«ü©w¤§¦¬«H¤H©Î¦]¥ô¦ó­ì¦]¦b¥¼¸g±ÂÅvªº±¡§Î¤§¤U¦¬¨ì¥»«H¥ó, ½Ð±z§iª¾­ìµo«H¤H¨Ã¥ß§Y±N«H¥ó±q¹q¸£»Pºô¸ô¦øªA¾¹¤¤¤©¥H®ø°£. ¹ï©ó±zªº¦X§@, §Ú­Ì¥ý¦¹­PÁÂ. ¯S¦¹´£¿ô, ¥ô¦ó¥¼¸g±ÂÅv¾Õ¦Û¨Ï¥ÎµØ¨¹¹q¤lªº¾÷±K¸ê°Tªº¦æ¬°¬O³QÄY®æ¸T¤îªº. «H¥ó»PµØ¨¹¹q¤lÀç·~µLÃö¤§¤º®e,¤£±oµø¬°µØ¨¹¹q¤l¤§¥ß³õ©Î·N¨£.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i2c-ali1563.rar
Type: application/octet-stream
Size: 4273 bytes
Desc: i2c-ali1563.rar
URL: <http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050128/7b40275f/attachment.obj>


More information about the lm-sensors mailing list