> After having problems with interrutpts after enabling USB support
> I configured one of the PCI devices to use a different IRQ
> with "setpci -v -s5.0 62.b=9". Unfortunately this breaks the
> FIR (toshoboe) driver since pci_find_device() returns a pci_dev
> structure with the IRQ that was found at pci.c initialisation.
>
> Wouldn't it be more correct for volatile PCI registers to be
> read at driver initialisation time rather than PCI subsystem
> initialisation? Perhaps in pci_find_device().
I'll probably introduce an ioctl for setting of these kernel
structures on a live system.
By the way, what interrupt problems do you exactly have? Unless
there is a hardware bug or something rotten in the drivers, interrupt
sharing should work fine on PCI.
Have a nice fortnight
-- Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth "For every complex problem, there's a solution that is simple, neat and wrong."- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/