Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 May 1998 23:11:05 +0200
From:      Stefan Esser <se@FreeBSD.ORG>
To:        Joe Orthoefer <orthoefe@gte.net>, freebsd-hardware@FreeBSD.ORG
Cc:        Stefan Esser <se@FreeBSD.ORG>
Subject:   Re: compaq "dual host" pci archetecture
Message-ID:  <19980501231105.21043@mi.uni-koeln.de>
In-Reply-To: <Pine.BSF.3.96.980501124002.6702A-300000@moltar.oshea.lan>; from Joe Orthoefer on Fri, May 01, 1998 at 12:41:24PM -0400
References:  <Pine.BSF.3.96.980501124002.6702A-300000@moltar.oshea.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1998-05-01 12:41 -0400, Joe Orthoefer <orthoefe@gte.net> wrote:
> 
> I have access to a compaq 5500 that has 8 pci slots.  The first four slots
> and the last four slots, according to compaq's sales literature are each
> behind their own host to pci bridge chip.  When booting freebsd it
> recognizes and scans only one of the pci busses, though it sees both of
> the host to pci bridge chips.  Are there allowances for such a
> configuration in the current pci layer? 

Please try the following patch and let me 
know, whether it works for you. 

Do you happen to know the name of the host
bridge chips (made by either Ross or Requr,
the PCI vendor list contains two matches for
vendor 0x1166) ?

Regards, STefan


Index: /sys/pci/pcisupport.c
===================================================================
RCS file: /usr/cvs/src/sys/pci/pcisupport.c,v
retrieving revision 1.62
diff -C2 -r1.62 pcisupport.c
*** pcisupport.c	1998/03/27 20:36:54	1.62
--- pcisupport.c	1998/05/01 20:40:03
***************
*** 133,136 ****
--- 133,144 ----
  
  static void
+ fixbushigh_Pequr(pcici_t tag)
+ {
+ 	/* the register numbers are just a guess ... */
+ 	tag->secondarybus = pci_cfgread(tag, 0x44, 1);
+ 	tag->subordinatebus = pci_cfgread(tag, 0x45, 1);
+ }
+ 
+ static void
  fixwsc_natoma(pcici_t tag)
  {
***************
*** 244,247 ****
--- 258,264 ----
  	case 0x01051004:
  		return ("VLSI 82C147 IrDA Controller");
+ 	case 0x00051166:
+ 		fixbushigh_Pequr(tag);
+ 		return ("Pequr (?) host to PCI bridge");
  	};
  

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hardware" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980501231105.21043>