* Changing PCI board's IRQ
@ 2002-02-16 23:25 Raphael Derosso Pereira - DephiNit
2002-02-23 22:10 ` Harald Welte
0 siblings, 1 reply; 2+ messages in thread
From: Raphael Derosso Pereira - DephiNit @ 2002-02-16 23:25 UTC (permalink / raw)
To: linux-kernel
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
#
But, after that, when I did a
# lspci -vv -s 0:7.5
00:07.5 Multimedia audio controller: VIA Technologies, Inc. AC97 Audio
Controller (rev 50)
Subsystem: Biostar Microtech Int'l Corp: Unknown device 0032
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin C routed to IRQ 11
Region 0: I/O ports at dc00 [size=256]
Region 1: I/O ports at e000 [size=4]
Region 2: I/O ports at e400 [size=4]
Capabilities: [c0] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
After some experience (like rebooting... arg!) i tried:
# lspci -vv -H1 -s 0:7.5
<cut>
Interrupt: pin C routed to IRQ 8
Region 0: I/O ports at dc00
<cut>
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.
Is that a problem or am I missing the point?
P.S.: Please Reply direct to me (or send me a copy) because I can not
"afford" the traffic of linux-kernel. :)
--
Raphael Derosso Pereira - DephiNit
*-=-*-=--=-*-=-*-=--=*=-*
/ dephinit@softhome.net /
*-=-*-=--=-*-=-*-=--=*=-*
-=*=--=*=--=*=--=*=--=*=--=*=--=*=-
| Debian GNU/Linux Addicted User |
| Use it, Abuse it. It's Free!!! |
-=*=--=*=--=*=--=*=--=*=--=*=--=*=-
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Changing PCI board's IRQ
2002-02-16 23:25 Changing PCI board's IRQ Raphael Derosso Pereira - DephiNit
@ 2002-02-23 22:10 ` Harald Welte
0 siblings, 0 replies; 2+ messages in thread
From: Harald Welte @ 2002-02-23 22:10 UTC (permalink / raw)
To: Raphael Derosso Pereira - DephiNit; +Cc: linux-kernel
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+(*)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-02-23 22:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-16 23:25 Changing PCI board's IRQ Raphael Derosso Pereira - DephiNit
2002-02-23 22:10 ` Harald Welte
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®