[PATCH] pc386 BSP PCI initialization fix [was: Re: PCI lookup issue: 3c905C-TX not found by RTEMS.]

Karel Gardas kgardas at objectsecurity.com
Tue Jan 25 19:35:53 UTC 2005


On Tue, 25 Jan 2005 gregory.menke at gsfc.nasa.gov wrote:

>
> Karel Gardas writes:
>  > On Tue, 25 Jan 2005, Till Straumann wrote:
>
>  > But the main question still remains: what's the prefered practice: i.e.
>  > PPC way or dec21140/if_fxp way of PCI initialization?
>
> This is a long-standing disparity between the i386 bsps and the
> PowerPC bsps respective implementations of PCI and interrupt vectoring
> support.  Theres probably a more or less equal mass of code on each
> side of the fence, so reducing the two approaches into a single one is
> a fairly large job- not terribly complicated, but a good deal of
> highly detailed work is required to do it and test it and fix all the
> stuff which breaks.

Thanks for explanation. So it seems for making such job easier it is
better on i386 to keep current way of doing PCI init and call pcib_init
from the elnk driver. Personally I think it would be good to at least keep
things in the same way on the same architecture.

If you agree, I'm going to make appropriate code changes myself.

Thanks,
Karel
--
Karel Gardas                  kgardas at objectsecurity.com
ObjectSecurity Ltd.           http://www.objectsecurity.com




More information about the users mailing list