From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
To: Andreas Hartmann <andreas.hartmann@fiducia.de>
Cc: "Alan Cox <alan" <alan@lxorguk.ukuu.org.uk>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: PCI: Failed to allocate resource in 2.4.20pre10 and 11 - broken IRQ-router?
Date: Tue, 22 Oct 2002 16:48:51 +0400 [thread overview]
Message-ID: <20021022164851.A3371@jurassic.park.msu.ru> (raw)
In-Reply-To: <OFD7C667D3.0FFAD96B-ON41256C5A.0043BB37@fag.fiducia.de>; from andreas.hartmann@fiducia.de on Tue, Oct 22, 2002 at 01:48:45PM +0100
On Tue, Oct 22, 2002 at 01:48:45PM +0100, Andreas Hartmann wrote:
> CMD64x is switched off in *both* config-files of the kernel. I switched it on in
> the 2.4.20pre10 kernel, but the result is the same.
Ugh. It's a silly typo in the "transparent bridges" patch.
Thanks for the report, Andreas.
Ivan.
--- 2.4.20p11/drivers/pci/pci.c Tue Oct 22 16:27:00 2002
+++ linux/drivers/pci/pci.c Tue Oct 22 16:37:18 2002
@@ -1386,7 +1386,7 @@ int pci_setup_device(struct pci_dev * de
/* The PCI-to-PCI bridge spec requires that subtractive
decoding (i.e. transparent) bridge must have programming
interface code of 0x01. */
- dev->transparent = ((class & 0xff) == 1);
+ dev->transparent = ((dev->class & 0xff) == 1);
pci_read_bases(dev, 2, PCI_ROM_ADDRESS1);
break;
next prev parent reply other threads:[~2002-10-22 12:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-22 12:48 Andreas Hartmann
2002-10-22 12:14 ` Alan Cox
2002-10-22 12:48 ` Ivan Kokshaysky [this message]
[not found] <fa.mq6dl3v.5lgkh3@ifi.uio.no>
[not found] ` <fa.j9607mv.185k5hc@ifi.uio.no>
2002-10-22 17:43 ` Andreas Hartmann
-- strict thread matches above, loose matches on Subject: below --
2002-10-22 6:28 Andreas Hartmann
2002-10-22 10:10 ` 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=20021022164851.A3371@jurassic.park.msu.ru \
--to=ink@jurassic.park.msu.ru \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=andreas.hartmann@fiducia.de \
--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®