Selon Phil Blundell <pb@nexus.co.uk>:
> On Tue, 2004-03-02 at 18:02, Alain2210 wrote:
> > I have tried again, with this and the original shamcop_base.c (but with
> the
> > corrected typo), I
> > do that I get a kernel oops when shamcop ts is registered by shamcop_adc.c
> > (since it does
> > not have parent).
>
> Right, but why does it not have a parent? That's the bit that I'm still
> not grasping. Maybe you should add some more instrumentation to the
> code to find out what's going wrong.
Again, I 'm sure of nothing since I discover all...
The thing I think having understood is : the parent is adc shamcop which has 3
resources :
one of type IORESOURCE_MEM
one of type IORESOURCE_SOC_VIRTUAL
one of type IORESOURCE_IRQ
however with this last type, there is often no end value.
adc shamcop has also a parent ipaq shamcop (defined in h2200.c) which has 2
resources :
one of type IORESOURCE_MEM
one of type IORESOURCE_IRQ
hence the third resource of adc shamcop must be contained in the second of adc
shamcop.
I did not succeed in getting adc shamcop well initalized hence ts shamcop cannot
have
a parent so it gives a oops.
I have not understood the effect of request_resource
Alain
Received on Tue Mar 02 18:23:06 2004
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:41:46 EDT