Re: Changing PCI board's IRQ

From: Harald Welte (laforge@gnumonks.org)
Date: Sat Feb 23 2002 - 17:10:08 EST


On Sat, Feb 16, 2002 at 09:25:27PM -0200, Raphael Derosso Pereira - DephiNit wrote:
> Hello,
>
> One computer that I administer have a IRQ conflict between a sound card and a
> ethernet card. Both share the IRQ 11.
> I don't have physical access to the computer, so I tried to change the IRQ
> using the 'setpci' command.
>
> # setpci -v -s 0:7.5 INTERRUPT_LINE=08
> 00:07.5:3c 08
> #

well, this is obviously the wrong solution. If both boards are PCI boards,
they can easily share the IRQ between them.

If one of the boards is an ISA device, configure your BIOS correctly
(i.e. telling it that IRQ11 is used by a non-pnp legacy ISA device).

> So, it seems that either I cannot change the Interrupt line number throught
> software (and the -H1 is tricky) or the /proc/pci (and /proc/bus/pci) is not
> getting updated.

You can't just change the IRQ in pci config space. You will not change the
real IRQ mapping but just somthing the BIOS wrote there during initialization.

> Is that a problem or am I missing the point?
>

-- 
Live long and prosper
- Harald Welte / laforge@gnumonks.org               http://www.gnumonks.org/
============================================================================
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M+ 
V-- PS++ PE-- Y++ PGP++ t+ 5-- !X !R tv-- b+++ !DI !D G+ e* h--- r++ y+(*)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Feb 23 2002 - 21:00:52 EST