[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 17:13:42 UTC 2005
On Tue, 25 Jan 2005 gregory.menke at gsfc.nasa.gov wrote:
> Karel Gardas writes:
> >
> > Hello,
> >
> > thanks to help provided by Gregory Menke, I was finally able to get my
> > K6-2/3c905C-TX NIC machine working with RTEMS. As a result of my debug
> > trip thorough pcibios/elnk.c sources, I've created attached patch. It adds
> > some more verbose debugging when PCI_DEBUG is defined and fixes pci
> > initialization by directly calling pcib_init from BSP_pciFindDevice in
> > case PCI is not yet initialized. I've also tested applying it to the trunk
> > and it has gone well.
>
> I think calling pcib_init in this way is probably not the best idea
> for a long-term fix. Thought he fact that it works suggests theres a
> bug in the pc386 bsp startup. Is there an active maintainer for the
> pc386 family?
I agree that this is just workaround for now. If someone comes with better
solution, then I'm willing to test it on my "problematic" box.
Cheers,
Karel
--
Karel Gardas kgardas at objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com
More information about the users
mailing list