lkml.org 
[lkml]   [1998]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Re[2]: Me too: "PCI: Discovered primary peer bus xx"
Hello,

> I tried the kernel options you suggested; the results are below. I didn't
> mention this in my original post, but just for the record: I'm building the
> kernel for UP with GCC v2.7.2.3.
[snip, snip]

This patch should fix all observed peer bridge detection problems,
sending it to Linus in few minutes...

Have a nice fortnight
--
Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"Black holes are where God divided by zero."


--- arch/i386/kernel/bios32.c.mj Mon Aug 3 12:08:47 1998
+++ arch/i386/kernel/bios32.c Mon Aug 3 12:14:37 1998
@@ -920,6 +920,13 @@
struct pci_bus *b = &pci_root;
int i;

+ /*
+ * Don't search for peer host bridges if we use config type 2
+ * since it reads bogus values for non-existent busses and
+ * chipsets supporting multiple primary busses use conf1 anyway.
+ */
+ if (access_pci == &pci_direct_conf2)
+ return;
do {
int n = b->subordinate+1;
u16 l;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.033 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site