2.5.x Conversion from i2c-old.h --> i2c.h (fwd)
Forwarded message:
Quoted 33 lines
From [email protected] Fri Jun 7 19:40:06 2002
Message-ID: <[email protected]>
Date: Fri, 07 Jun 2002 13:34:09 -0400
From: Frank Davis <[email protected]>
Reply-To: [email protected]
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2) Gecko/20020512 Netscape/7.0b1
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: [email protected]
CC: [email protected]
Subject: 2.5.x Conversion fromi2c-old.h-->i2c.h
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Loop-Procmail: PreventLoopHello,
I'm in the process of converting the drivers located indrivers/media/video/from the old i2c interface (reference toi2c-old.hwhich no longer exists in 2.5.x) to the current i2c interface. I believe to have everything in place for the current i2c interface, expect fixing up the (driver)_read() and (driver)_write_block() and (driver)_write() functions. I'm hoping you could provide guidance on how to convert those functions over. I was thinking about removing those completely and usingi2c_smbus_read_*() functions instead. Thoughts?
I'm currently looking at
drivers/media/video/saa7110.c(kernel version 2.5.20). Thanks.Regards,
Frank
Signature · 4 lines
Frodo Looijaard <[email protected]> PGP key and more: http://huizen.dds.nl/~frodol Defenestration n. (formal or joc.): The act of removing Windows from your computer in disgust, usually followed by the installation of Linux or some other Unix-like operating system.
You have the right idea.
There's a lot of documentation and examples in the lm_sensors and i2c packages.
Look at the documentation page at www.lm-sensors.nu.
As the 7110 is apparently a chip driver, you should look in kernel/chips in lm_sensors.
Let us know if you have questions.
mds
Quoted 41 lines · [email protected] wrote:
Forwarded message:
Quoted 24 lines
From [email protected] Fri Jun 7 19:40:06 2002
Message-ID: <[email protected]>
Date: Fri, 07 Jun 2002 13:34:09 -0400
From: Frank Davis <[email protected]>
Reply-To: [email protected]
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2) Gecko/20020512 Netscape/7.0b1
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: [email protected]
CC: [email protected]
Subject: 2.5.x Conversion fromi2c-old.h-->i2c.h
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Loop-Procmail: PreventLoopHello,
I'm in the process of converting the drivers located indrivers/media/video/from the old i2c interface (reference toi2c-old.hwhich no longer exists in 2.5.x) to the current i2c interface. I believe to have everything in place for the current i2c interface, expect fixing up the (driver)_read() and (driver)_write_block() and (driver)_write() functions. I'm hoping you could provide guidance on how to convert those functions over. I was thinking about removing those completely and usingQuoted 9 lines
i2c_smbus_read_*() functions instead. Thoughts?
I'm currently looking at
drivers/media/video/saa7110.c(kernel version 2.5.20). Thanks.Regards,
Frank--
Frodo Looijaard <[email protected]> PGP key and more: http://huizen.dds.nl/~frodol
Defenestration n. (formal or joc.):
The act of removing Windows from your computer in disgust, usually followed by the installation of Linux or some other Unix-like operating system.