mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Raphael Derosso Pereira - DephiNit <dephinit@softhome.net>
To: linux-kernel@vger.kernel.org
Subject: Changing PCI board's IRQ
Date: Sat, 16 Feb 2002 21:25:27 -0200	[thread overview]
Message-ID: <E16cECu-0000Lh-00@mushroom> (raw)

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!!!   |
 -=*=--=*=--=*=--=*=--=*=--=*=--=*=-

             reply	other threads:[~2002-02-16 23:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-16 23:25 Raphael Derosso Pereira - DephiNit [this message]
2002-02-23 22:10 ` Harald Welte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E16cECu-0000Lh-00@mushroom \
    --to=dephinit@softhome.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®