i2c/kernel i2c.h i2c-velleman.c i2c-rpx.c i2c-proc.c i2c-pport.c i2c-philips-par.c i2c-pcf-epp.c i2
uncommenting 8xx and rpx in kernel/Module.mk causes compile errors for me (non-8xx kernel)
Also, for my info, why is 2.4.9 and not 2.4.0 the minimum kernel now?
Quoted 14 lines · [email protected] wrote:
Update of
/home/cvs/i2c/kernel
In directory mordac.netroedge.com:/tmp/cvs-serv26879/kernelModified Files:
i2c.h i2c-velleman.c i2c-rpx.c i2c-proc.c i2c-pport.c i2c-philips-par.c i2c-pcf-epp.c i2c-frodo.c i2c-elv.c i2c-elektor.c i2c-dev.h i2c-dev.c i2c-core.c i2c-algo-pcf.c i2c-algo-ibm_ocp.c i2c-algo-biths.c i2c-algo-bit.c i2c-algo-8xx.c i2c-adap-ibm_ocp.c Module.mkLog Message:
(Ky?sti)
Check in changes from 2.5.53 to 2.5.54). Apply respective changes to other drivers in CVS.
kernel/i2c-pcf-epp.c:216: warning: initialization from incompatible pointer typekernel/i2c-pcf-epp.c:218: warning: initialization makes integer from pointer without a cast kernel/i2c-pcf-epp.c:219: warning: initialization makes integer from pointer without a castkernel/i2c-pcf-epp.c:219: initializer element is not computable at load timekernel/i2c-pcf-epp.c:219: (near initialization for `pcf_epp_ops.name[2]')kernel/i2c-pcf-epp.c:220: `pcf_epp_inc_use' undeclared here (not in a function)kernel/i2c-pcf-epp.c:220: initializer element is not constantkernel/i2c-pcf-epp.c:220: (near initialization for `pcf_epp_ops.name[3]')kernel/i2c-pcf-epp.c:221: `pcf_epp_dec_use' undeclared here (not in a function)kernel/i2c-pcf-epp.c:221: initializer element is not constantkernel/i2c-pcf-epp.c:221: (near initialization for `pcf_epp_ops.name[4]')kernel/i2c-pcf-epp.c:222: warning: initialization makes integer from pointer without a castkernel/i2c-pcf-epp.c:222: initializer element is not computable at load timekernel/i2c-pcf-epp.c:222: (near initialization for `pcf_epp_ops.name[5]')kernel/i2c-pcf-epp.c:223: warning: initialization makes integer from pointer without a castkernel/i2c-pcf-epp.c:223: initializer element is not computable at load timekernel/i2c-pcf-epp.c:223: (near initialization for `pcf_epp_ops.name[6]')
make: *** [kernel/i2c-pcf-epp.o] Error 1
Also, should be do C99 initializers before the branch?
Quoted 14 lines · [email protected] wrote:
Update of
/home/cvs/i2c/kernel
In directory mordac.netroedge.com:/tmp/cvs-serv26879/kernelModified Files:
i2c.h i2c-velleman.c i2c-rpx.c i2c-proc.c i2c-pport.c i2c-philips-par.c i2c-pcf-epp.c i2c-frodo.c i2c-elv.c i2c-elektor.c i2c-dev.h i2c-dev.c i2c-core.c i2c-algo-pcf.c i2c-algo-ibm_ocp.c i2c-algo-biths.c i2c-algo-bit.c i2c-algo-8xx.c i2c-adap-ibm_ocp.c Module.mkLog Message:
(Ky?sti)
Check in changes from 2.5.53 to 2.5.54). Apply respective changes to other drivers in CVS.
i2c/kernel i2c.h i2c-velleman.c i2c-rpx.c i2c-proc.c
In reply to Mark StudebakerI thought we were going to change the refcounts
from .inc_use to .owner _after_ the branch...
But if you can get the refcount changes into 2.4.21 then maybe we don't need to branch at all?
Quoted 18 lines · Ky?sti M?lkki
Quoted 1 line · Mark Studebaker
but it needs to compile outside kernel too.
Yes, but video4linux will still compile in kernel tree and use different i2c header files. Also I dropped .inc_use() completely, in favour of .owner that is common for 2.4 and 2.5.
This temporarily breaks non-CVS i2c code in kernel, but patches can be backported from 2.5.54+. Mkpatch should apply these too.
Once this is done, I would consider 2.8.0 release and sending patches for inclusion in 2.4.21.
--
Ky?sti M?lkki
[email protected]
i2c/kernel i2c.h i2c-velleman.c i2c-rpx.c i2c-proc.c i2c-pport.ci2c-philips-par.c
In reply to Mark StudebakerI haven't used CVS branches before so please bear with me.
Did you do only the tag in preparation for branching or did you do the branch as well?
Could you give us some instructions on how to:
- check out 2.4 or 2.5 branch
- check into 2.4 or 2.5 branch
- merges (guidelines?)
- make 2.4 and 2.5 releases (perhaps update lm_sensors2/doc/developer/checklist?)
If you branched at a point where some drivers wouldn't even compile in 2.4 then isn't it a little messy? I want to test/fix under 2.4 (I'm not running 2.5) but I need a little help.
I can also put a note on the home page on the status of CVS once I understand it :)
thanks
mds
Quoted 28 lines · Ky?sti M?lkki
Quoted 2 lines · Mark Studebaker
I thought we were going to change the refcounts
from .inc_use to .owner _after_ the branch...Well, yes. I made the branch already for 2.4 with tag lk2-4. I am just about to commit most of 2.5<->2.4 changes back to 2.4.
Quoted 2 lines
But if you can get the refcount changes into 2.4.21 then maybe we don't need to branch at all?
I am optimistic, it is backported from 2.5.53-54 changes. In 2.5.54+, the mentioned video4linux drivers were converted. Without i2c, video4linux backporting can not proceed. And i2c-proc used .owner in 2.3.37 already.
The branch is still useful.
I would like to push some changes to i2c interface during the 2.5 cycle, without worrying about 2.4 compatibility:
- i2c-algo-biths
- master_send/recv removal (issues with multi-master)
- pass *client withi2c_transfer(have per-client speed)
- master transmitter as slave receiver
i2c/kernel i2c.h i2c-velleman.c i2c-rpx.c i2c-proc.c i2c-pport.c
In reply to Mark StudebakerQuoted 2 lines · Mark Studebaker
uncommenting 8xx and rpx in
kernel/Module.mkcauses compile errors for me (non-8xx kernel)
Same here. I was hoping one who fixes mkpatch to run cleanly over 2.5 would know how to fix this too. Also pcf-epp and elektro will not compile for me.
Quoted 1 line
Also, for my info, why is 2.4.9 and not 2.4.0 the minimum kernel now?
Removed llseek for /dev.
Signature · 2 lines
Ky?sti M?lkki [email protected]
i2c/kernel i2c.h i2c-velleman.c i2c-rpx.c i2c-proc.c i2c-pport.c
In reply to Mark StudebakerOn Mon, 13 Jan 2003, Mark Studebaker wrote:
<clip>
Quoted 5 lines
kernel/i2c-pcf-epp.c:223: initializer element is not computable at load timekernel/i2c-pcf-epp.c:223: (near initialization for `pcf_epp_ops.name[6]')
make: *** [kernel/i2c-pcf-epp.o] Error 1Also, should be do C99 initializers before the branch?
Well most were already applied in 2.5 tree. I'll port them back to 2.4 once the rest get caught.
Signature · 2 lines
Ky?sti M?lkki [email protected]
i2c/kernel i2c.h i2c-velleman.c i2c-rpx.c i2c-proc.c
In reply to Mark StudebakerQuoted 1 line · Mark Studebaker
but it needs to compile outside kernel too.
Yes, but video4linux will still compile in kernel tree and use different i2c header files. Also I dropped .inc_use() completely, in favour of .owner that is common for 2.4 and 2.5.
This temporarily breaks non-CVS i2c code in kernel, but patches can be backported from 2.5.54+. Mkpatch should apply these too.
Once this is done, I would consider 2.8.0 release and sending patches for inclusion in 2.4.21.
Signature · 2 lines
Ky?sti M?lkki [email protected]
i2c/kernel i2c.h i2c-velleman.c i2c-rpx.c i2c-proc.c
In reply to Mark StudebakerQuoted 2 lines · Mark Studebaker
I thought we were going to change the refcounts
from .inc_use to .owner _after_ the branch...
Well, yes. I made the branch already for 2.4 with tag lk2-4. I am just about to commit most of 2.5<->2.4 changes back to 2.4.
Quoted 2 lines
But if you can get the refcount changes into 2.4.21 then maybe we don't need to branch at all?
I am optimistic, it is backported from 2.5.53-54 changes. In 2.5.54+, the mentioned video4linux drivers were converted. Without i2c, video4linux backporting can not proceed. And i2c-proc used .owner in 2.3.37 already.
The branch is still useful.
I would like to push some changes to i2c interface during the 2.5 cycle, without worrying about 2.4 compatibility:
- i2c-algo-biths
- master_send/recv removal (issues with multi-master)
- pass *client with i2c_transfer (have per-client speed)
- master transmitter as slave receiver
Signature · 2 lines
Ky?sti M?lkki [email protected]
i2c/kernel i2c.h i2c-velleman.c i2c-rpx.c i2c-proc.c
In reply to Mark StudebakerQuoted 4 lines · Mark Studebaker
I haven't used CVS branches before so please bear with me.
Did you do only the tag in preparation for branching or did you do the branch as well?
A branch for 2.4 was made, and tagged "lk2-4". At first I forgot to put a symbolic tag to checkout branch point, use POST-2-4-9-KERNELS.
Quoted 2 lines
Could you give us some instructions on how to:
- check out 2.4 or 2.5 branch
For the latest of 2.4, use the branch name tag to checkout or update.
cvs co -r lk2-4 i2c
As 2.5 is main branch, you are in it by default.
Quoted 1 line
- check into 2.4 or 2.5 branch
Once you checkout or update using some tag in the 2.4 branch, your working directory is locked into 2.4 branch as long as you explicilty remove the "sticky tag" for branch lk2-4:
cvs up -A
While the sticky tag is valid, commits will only go to the respective branch.
Quoted 3 lines
- merges (guidelines?)
- make 2.4 and 2.5 releases (perhaps update
lm_sensors2/doc/developer/checklist?)
I'll comment on these later today.
Quoted 3 lines
If you branched at a point where some drivers wouldn't even compile in 2.4 then isn't it a little messy? I want to test/fix under 2.4 (I'm not running 2.5) but I need a little help.
I branched after removing VERSION_CODE < 2.4.9 tests.
This is now tagged POST-2-4-9-KERNELS. Diff against previously patched 2.4.20 kernel looks good to me.
Quoted 2 lines
I can also put a note on the home page on the status of CVS once I understand it :)
I am stuck with emacs, I know there are better alternatives to show the tag tree. Now that main and branch both have tags, it will open your eys.
Good, since I haven't played with that part at all. Apologies for the rush and good night.
Signature · 2 lines
Ky?sti M?lkki [email protected]