mptables and missing devices

2003-09-29 Thread Stefan Reinauer
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

Re: mptables and missing devices

2003-09-29 Thread ron minnich
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

Re: mptables and missing devices

2003-09-29 Thread Stefan Reinauer
* 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

Re: mptables and missing devices

2003-09-29 Thread Eric W. Biederman
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

Re: mptables and missing devices

2003-09-29 Thread Stefan Reinauer
* 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

Re: mptables and missing devices

2003-09-29 Thread Eric W. Biederman
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

Re: mptables and missing devices

2003-09-30 Thread Stefan Reinauer
* 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

Re: mptables and missing devices

2003-09-30 Thread Eric W. Biederman
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

Re: mptables and missing devices

2003-09-30 Thread ron minnich
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

Re: mptables and missing devices

2003-09-30 Thread Eric W. Biederman
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 >