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

gregory.menke at gsfc.nasa.gov gregory.menke at gsfc.nasa.gov
Tue Jan 25 19:23:47 UTC 2005


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.

Personally, I favor the PowerPC approach, its a bit more portable and
generalizable, but the api is more complex.

But regardless I think we're stuck with the current state of affairs
until some project/team comes along with the resources to get the
PowerPC and i386 bsp's under the same roof for long enough to get it
worked out.  I'd love to do or at least help with it, but its not
something I can justify a big expenditure of time on at this point.  I
imagine others are in a similar position.  

On the other hand, things change- I was able to fancy up the dec2114x
driver, write the etherlink driver (porting and adapting bsd code),
and enhance the PPC pci support a fair bit because of a project need.
Something may well come out of nowhere to jumpstart the PCI
unification.

Gregm




More information about the users mailing list