Re: PCI bookkeeping

2000-10-21 Thread Martin Mares
Hello! > The problem I'm seeing is that at least one driver > has signed up to handle the wrong IRQ because, > when it queried that PCI config value, it went > back and got it from PCI config space rather > than from the in-kernel data structures where the > (correct) recalculated value had been

Re: PCI bookkeeping

2000-10-21 Thread Michael O'Donnell
>> The problem I'm seeing is that at least one driver >> has signed up to handle the wrong IRQ because, >> when it queried that PCI config value, it went >> back and got it from PCI config space rather >> than from the in-kernel data structures where the >> (correct) recalculated value had

Re: PCI bookkeeping

2000-10-21 Thread Jeff Garzik
Michael O'Donnell wrote: > [...] Later on, various > drivers use code like pcibios_read_config_byte() > to query the IRQ value for use during setup of > their interrupt handlers. Unless there is a very special reason, that's a driver bug. Please define "various drivers" so we can fix them :)

PCI bookkeeping

2000-10-21 Thread Michael O'Donnell
Is there something (other than the kernel sources) that I can read in order to understand the background to the current state of PCI handling? I'm asking because I (think I) have found an interrupt handling bug that derives from uncoordinated management of PCI config info, but I don't want to

PCI bookkeeping

2000-10-21 Thread Michael O'Donnell
Is there something (other than the kernel sources) that I can read in order to understand the background to the current state of PCI handling? I'm asking because I (think I) have found an interrupt handling bug that derives from uncoordinated management of PCI config info, but I don't want to

Re: PCI bookkeeping

2000-10-21 Thread Jeff Garzik
Michael O'Donnell wrote: [...] Later on, various drivers use code like pcibios_read_config_byte() to query the IRQ value for use during setup of their interrupt handlers. Unless there is a very special reason, that's a driver bug. Please define "various drivers" so we can fix them :) I'm

Re: PCI bookkeeping

2000-10-21 Thread Michael O'Donnell
The problem I'm seeing is that at least one driver has signed up to handle the wrong IRQ because, when it queried that PCI config value, it went back and got it from PCI config space rather than from the in-kernel data structures where the (correct) recalculated value had been stored.

Re: PCI bookkeeping

2000-10-21 Thread Martin Mares
Hello! The problem I'm seeing is that at least one driver has signed up to handle the wrong IRQ because, when it queried that PCI config value, it went back and got it from PCI config space rather than from the in-kernel data structures where the (correct) recalculated value had been