mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Jez <dave.jez@seznam.cz>
To: Jim Nelson <james4765@verizon.net>
Cc: Martin Mares <mj@ucw.cz>, linux-kernel@vger.kernel.org
Subject: Re: PCI & IRQ problems on TI Extensa 600CD
Date: Fri, 29 Oct 2004 10:18:48 +0200	[thread overview]
Message-ID: <20041029081848.GA5240@stud.fit.vutbr.cz> (raw)
In-Reply-To: <20041025161945.GA82114@stud.fit.vutbr.cz>

[-- Attachment #1: Type: text/plain, Size: 790 bytes --]

  Hi all,

  Last night i solved this problem. It cause by crippled PCI chipset
parody called ALi and his perverse undocumented "features". I think that
use ISA bridge as IRQ router if we haven't any router is guite good idea.
  Everythink with this patch works fine even though i have different irq in
win. See attached logs.
  Jim, can you try this patch please? I assume that you have some kind
of ALi chipset too. Maybe this solves your problem too.
  Martin, Marcelo, please aply :-).

PS: is here anybody who have relevant datascheet?

  Regards,
-- 
-------------------------------------------------------
  David "Dave" Jez                Brno, CZ, Europe
 E-mail: dave.jez@seznam.cz
PGP key: finger xjezda00@eva.fit.vutbr.cz
---------=[ ~EOF ]=------------------------------------

[-- Attachment #2: pci-irq.diff --]
[-- Type: text/plain, Size: 1249 bytes --]

 pci-irq.c |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff -urN linux.orig/arch/i386/kernel/pci-irq.c linux/arch/i386/kernel/pci-irq.c
--- linux.orig/arch/i386/kernel/pci-irq.c	Fri Sep 24 15:19:06 2004
+++ linux/arch/i386/kernel/pci-irq.c	Thu Oct 28 15:49:26 2004
@@ -736,6 +736,7 @@
 {
 	switch(device)
 	{
+		case PCI_DEVICE_ID_AL_M1523:
 		case PCI_DEVICE_ID_AL_M1533:
 			r->name = "ALI";
 			r->get = pirq_ali_get;
@@ -814,8 +815,18 @@
 
 	pirq_router_dev = pci_find_slot(rt->rtr_bus, rt->rtr_devfn);
 	if (!pirq_router_dev) {
-		DBG("PCI: Interrupt router not found at %02x:%02x\n", rt->rtr_bus, rt->rtr_devfn);
-		return;
+		DBG("PCI: Interrupt router not found at %02x:%02x. Aieee, do you have ALi chipset?\n",
+		    rt->rtr_bus, rt->rtr_devfn);
+		pirq_router_dev = (pci_find_device(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M1523, NULL));
+		if (!pirq_router_dev)
+			pirq_router_dev = (pci_find_device(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M1533, NULL));
+		if (!pirq_router_dev) {
+			DBG("PC: ...hmmm sorry...\n");
+			return;
+		} else {
+			DBG("PCI: OK, found %04x:%04x. Let's playing a game!\n",
+			    pirq_router_dev->vendor, pirq_router_dev->device);
+		}
 	}
 
 	for( h = pirq_routers; h->vendor; h++) {

[-- Attachment #3: data.tgz --]
[-- Type: application/x-gtar, Size: 6093 bytes --]

  reply	other threads:[~2004-10-29  8:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-23 14:29 David Jez
2004-10-23 19:53 ` Jim Nelson
2004-10-25 16:19   ` David Jez
2004-10-29  8:18     ` David Jez [this message]
2004-10-29  9:50       ` Jim Nelson
2004-10-29 10:14         ` David Jez
2004-11-01  8:42         ` David Jez
2004-11-01 12:59           ` Jim Nelson
2004-11-01 20:27             ` David Jez
2004-11-02 14:15               ` Jim Nelson
2004-11-02 16:24                 ` Jim Nelson

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=20041029081848.GA5240@stud.fit.vutbr.cz \
    --to=dave.jez@seznam.cz \
    --cc=james4765@verizon.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mj@ucw.cz \
    /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®