lkml.org 
[lkml]   [1999]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PCI IRQ initialisation in pci.c
Hello,

> 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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.044 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site