mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bernhard Rosenkraenzer <bero@arklinux.org>
To: alan@lxorguk.ukuu.org.uk, linux-kernel@vger.kernel.org
Subject: [PATCH] ia32 irq router detection bug in 2.4.22-rc1-ac1
Date: Sun, 10 Aug 2003 01:42:57 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.53.0308100136240.1011@dot.kde.org> (raw)

[-- Attachment #1: Type: TEXT/PLAIN, Size: 266 bytes --]

2.4.22-rc1-ac1 can misdetect irq routers because of a typo in the probing 
code.

Patch attached.

LLaP
bero

-- 
Ark Linux - Linux for the masses
http://www.arklinux.org/

Redistribution and processing of this message is subject to
http://www.arklinux.org/terms.php

[-- Attachment #2: IRQ routing fix --]
[-- Type: TEXT/PLAIN, Size: 627 bytes --]

--- linux-2.4.21/arch/i386/kernel/pci-irq.c.ark	2003-08-09 17:38:10.000000000 +0200
+++ linux-2.4.21/arch/i386/kernel/pci-irq.c	2003-08-09 17:38:43.000000000 +0200
@@ -819,7 +819,7 @@
 		if (rt->rtr_vendor == h->vendor && h->probe(r, pirq_router_dev, rt->rtr_device))
 			break;
 		/* Fall back to a device match */
-		if (pirq_router_dev->vendor == pirq_router_dev->vendor && h->probe(r, pirq_router_dev, pirq_router_dev->device))
+		if (pirq_router_dev->vendor == h->vendor && h->probe(r, pirq_router_dev, pirq_router_dev->device))
 			break;
 	}
 	printk(KERN_INFO "PCI: Using IRQ router %s [%04x/%04x] at %s\n",

             reply	other threads:[~2003-08-09 23:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-09 23:42 Bernhard Rosenkraenzer [this message]
2003-08-12 15:54 ` Alan Cox

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=Pine.LNX.4.53.0308100136240.1011@dot.kde.org \
    --to=bero@arklinux.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --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®