Hi,
is there a reason why the mptable creation uses dev_find_slot()
to find the bridges instead of dev_find_device()? Since it does
not even check whether the device it finds is the one it wants
this sounds rather dangerous.
Taking the PCI_CLASS field into regard, it should be possible to
search
overall, we have some work to do on PCI, so my guess is that you are not
digging in the dark at all, Stefan.
ron
___
Linuxbios mailing list
[EMAIL PROTECTED]
http://www.clustermatic.org/mailman/listinfo/linuxbios
* Stefan Reinauer <[EMAIL PROTECTED]> [030929 22:15]:
> Hi,
>
> is there a reason why the mptable creation uses dev_find_slot()
> to find the bridges instead of dev_find_device()? Since it does
> not even check whether the device it finds is the one it wants
> this sounds rather dangerous.
>
> Ta
Stefan Reinauer <[EMAIL PROTECTED]> writes:
> * Stefan Reinauer <[EMAIL PROTECTED]> [030929 22:15]:
> > Hi,
> >
> > is there a reason why the mptable creation uses dev_find_slot()
> > to find the bridges instead of dev_find_device()? Since it does
> > not even check whether the device it finds is
* Eric W. Biederman <[EMAIL PROTECTED]> [030929 23:48]:
> > > is there a reason why the mptable creation uses dev_find_slot()
> > > to find the bridges instead of dev_find_device()? Since it does
> > > not even check whether the device it finds is the one it wants
> > > this sounds rather dangerous
Stefan Reinauer <[EMAIL PROTECTED]> writes:
> * Eric W. Biederman <[EMAIL PROTECTED]> [030929 23:48]:
> > > > is there a reason why the mptable creation uses dev_find_slot()
> > > > to find the bridges instead of dev_find_device()? Since it does
> > > > not even check whether the device it finds i
* Eric W. Biederman <[EMAIL PROTECTED]> [030930 00:16]:
> > Ok.. I think it's pretty easy doable if the bus number registers of the
> > bridges are filled reliably. Is this the case?
>
> Yes. And the bus number values are also in the device tree. Which
> is where it would be better to read them
Stefan Reinauer <[EMAIL PROTECTED]> writes:
> * Eric W. Biederman <[EMAIL PROTECTED]> [030930 00:16]:
> > > Ok.. I think it's pretty easy doable if the bus number registers of the
> > > bridges are filled reliably. Is this the case?
> >
> > Yes. And the bus number values are also in the device t
On 30 Sep 2003, Eric W. Biederman wrote:
> There are boards that a pirq routing table simply does not work
> for, because not all interrupts go through the pirq router. For those
> boards we either we need to just go through the mptable, or we
> need to pre route the irqs and fill in the routing
ron minnich <[EMAIL PROTECTED]> writes:
> On 30 Sep 2003, Eric W. Biederman wrote:
>
> > There are boards that a pirq routing table simply does not work
> > for, because not all interrupts go through the pirq router. For those
> > boards we either we need to just go through the mptable, or we
>
10 matches
Mail list logo