> -----Original Message----- > From: Wood Scott-B07421 > Sent: Friday, July 27, 2012 9:34 AM > To: Jia Hongtao-B38951 > Cc: Wood Scott-B07421; linuxppc-dev@lists.ozlabs.org; > ga...@kernel.crashing.org; Li Yang-R58472 > Subject: Re: [PATCH 3/6] powerpc/fsl-pci: Determine primary bus by > looking for ISA node > > On 07/25/2012 09:20 PM, Jia Hongtao-B38951 wrote: > > All this recursion thing I will try another way. > > > > But this is not the same as you did. If we use platform driver probe > function > > will be called more than once. Your function is to find ISA node and > check if > > the parent equal to this PCI controller. My function is to search ISA > under > > each PCI controller. > > The result is the same -- "does this PCI controller have an ISA node > under it?" > > -Scott
The result is the same but as I said in platform driver probe function will be called for each PCI controller. We don't want ISA is searched for more than once. Also please refer to V3 of this patch set in which I rebase them on latest tree. I made a non-recursive version of function to search for ISA under PCI nodes. -Hongtao. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev