mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: lsorense@csclub.uwaterloo.ca (Lennart Sorensen)
To: Udo van den Heuvel <udovdh@xs4all.nl>
Cc: linux-kernel@vger.kernel.org, Krzysztof Halasa <khc@pm.waw.pl>,
	Alistair John Strachan <s0348365@sms.ed.ac.uk>
Subject: Re: PCI riser cards and PCI irq routing, etc
Date: Wed, 21 Feb 2007 15:13:03 -0500	[thread overview]
Message-ID: <20070221201303.GH22464@csclub.uwaterloo.ca> (raw)
In-Reply-To: <45DC8B3A.2080301@xs4all.nl>

On Wed, Feb 21, 2007 at 07:11:06PM +0100, Udo van den Heuvel wrote:
> BTW:
> 
> Is the situation, with default DN setting of 19 as displayed below,
> `normal` w.r.t. interrupts?
> I mean: Both the DVB card with DN19 and the Unichrome Pro video adapter
> have the same irq although they are on different busses.

Unfortunately, on bus 0, which is always the main bus of a system, there
is no such thing as normal.  The BIOS knows how the mainboard is wired
and hence knows how to assign IRQs.  It is only ones you get past bus 0
and onto secondary busses behind bridges that fixed rules apply since
that is when things have to work universally.  So in your case, via can
do whatever they want with IRQs for each DN, since they know the layout
of the mainboard.  The problem with riser cards without a pci bridge
chip, is that they try to modify bus 0 without the knowledge of the
board maker, which means the bios won't have a clue how it is wired.
Use of any riser card not explicitly supported by the board is hence
unsupported and really not recommended.

> (...)
> 00:13.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
>         Subsystem: TERRATEC Electronic GmbH Unknown device 1157
>         Flags: bus master, medium devsel, latency 32, IRQ 16
>         Memory at fdffc000 (32-bit, non-prefetchable) [size=512]
> 
> 00:14.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
>         Subsystem: TERRATEC Electronic GmbH Unknown device 1155
>         Flags: bus master, medium devsel, latency 32, IRQ 20
>         Memory at fdffb000 (32-bit, non-prefetchable) [size=512]
> 
> 01:00.0 VGA compatible controller: VIA Technologies, Inc. UniChrome Pro
> IGP (rev
>  01) (prog-if 00 [VGA])
>         Subsystem: VIA Technologies, Inc. UniChrome Pro IGP
>         Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 16
>         Memory at f4000000 (32-bit, prefetchable) [size=64M]
>         Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
>         [virtual] Expansion ROM at fc000000 [disabled] [size=64K]
>         Capabilities: [60] Power Management version 2
>         Capabilities: [70] AGP version 3.0
> 
> How can I find out what INT_A/B/C/D line is mapped to what irq?

Read the manual/developer guide.

--
Len Sorensen

  parent reply	other threads:[~2007-02-21 20:13 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-18 14:07 Udo van den Heuvel
2007-02-18 15:54 ` Lennart Sorensen
2007-02-18 16:15   ` Udo van den Heuvel
2007-02-18 19:39     ` Lennart Sorensen
2007-02-19  1:50       ` Alistair John Strachan
2007-02-19  4:04       ` Udo van den Heuvel
2007-02-19 15:17         ` Lennart Sorensen
2007-02-19 15:43           ` Udo van den Heuvel
2007-02-19 17:13             ` Lennart Sorensen
2007-02-19 15:09       ` Udo van den Heuvel
2007-02-19 20:37         ` Krzysztof Halasa
2007-02-20  4:17           ` Udo van den Heuvel
2007-02-20 14:56             ` Alistair John Strachan
2007-02-20 15:44               ` Udo van den Heuvel
2007-02-20 19:51                 ` Alistair John Strachan
2007-02-21  9:24                 ` Udo van den Heuvel
2007-02-21 12:24                   ` Krzysztof Halasa
2007-02-21 14:59                     ` Udo van den Heuvel
2007-02-21 15:12                       ` Lennart Sorensen
     [not found]                         ` <m3hctfqjna.fsf@maximus.localdomain>
2007-02-21 22:40                           ` Lennart Sorensen
2007-02-21 23:55                             ` Alistair John Strachan
2007-02-22  1:19                               ` Krzysztof Halasa
2007-02-23 15:45                                 ` Udo van den Heuvel
2007-02-23 15:54                                   ` Lennart Sorensen
2007-02-23 17:55                                   ` Krzysztof Halasa
2007-02-23 18:17                                     ` Udo van den Heuvel
2007-02-23 19:42                                       ` Krzysztof Halasa
2007-03-03 14:35                                         ` Udo van den Heuvel
2007-02-23 18:12                                   ` Krzysztof Halasa
2007-02-23 18:44                                     ` Udo van den Heuvel
2007-02-23 20:00                                       ` Krzysztof Halasa
2007-02-25 15:59                                     ` Udo van den Heuvel
2007-02-22  1:16                             ` Krzysztof Halasa
2007-02-21 18:11                       ` Udo van den Heuvel
2007-02-21 19:54                         ` Krzysztof Halasa
2007-02-21 20:13                         ` Lennart Sorensen [this message]
2007-02-21 19:36                       ` Krzysztof Halasa
2007-02-21 13:44                   ` Lennart Sorensen
2007-02-21 18:55                     ` Udo van den Heuvel
2007-02-20 20:47             ` Krzysztof Halasa
2007-02-20 21:51               ` Lennart Sorensen
2007-02-21  0:11                 ` Krzysztof Halasa
2007-02-21 13:46                   ` Lennart Sorensen
2007-02-20  4:35           ` Udo van den Heuvel
2007-02-21  0:03             ` Krzysztof Halasa
2007-02-18 20:50     ` Krzysztof Halasa
2007-02-18 20:42   ` Krzysztof Halasa
2007-02-19 15:03     ` Lennart Sorensen
2007-02-19 18:23       ` Krzysztof Halasa

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=20070221201303.GH22464@csclub.uwaterloo.ca \
    --to=lsorense@csclub.uwaterloo.ca \
    --cc=khc@pm.waw.pl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=s0348365@sms.ed.ac.uk \
    --cc=udovdh@xs4all.nl \
    /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®