Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Sep 2000 23:16:51 -0700
From:      Peter Wemm <peter@netplex.com.au>
To:        Bernd Walter <ticso@cicely5.cicely.de>
Cc:        Matthew Jacob <mjacob@feral.com>, Christian Weisgerber <naddy@mips.inka.de>, freebsd-alpha@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/pci pcisupport.c (fwd) 
Message-ID:  <200009100616.e8A6GpG76494@netplex.com.au>
In-Reply-To: <20000909141749.A13527@cicely5.cicely.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
Bernd Walter wrote:
> On Fri, Sep 08, 2000 at 02:55:56PM -0700, Matthew Jacob wrote:
> > 
> > This is what is broken for me too. I have not been able to really trace it
> > down yet. I don't have the halt switch set up.
> 
> If I hardcode cia_pcib_read_config() and  cia_pcib_write_config() to
> use bwx the machine boots at least into singleuser - not tested more yet.
> What is the special deal with the swiz stuff?

AHA!  I suspected the bwx/swiz mixup was implicated in this, and this
suggests it does have something to do with it.

Can you try something like this?:

Index: cia.c
===================================================================
RCS file: /home/ncvs/src/sys/alpha/pci/cia.c,v
retrieving revision 1.27
diff -u -r1.27 cia.c
--- cia.c	2000/09/02 01:05:37	1.27
+++ cia.c	2000/09/10 06:13:49
@@ -485,14 +485,17 @@
 	if (!platform.iointr)	/* XXX */
 		set_iointr(alpha_dispatch_intr);
 
-	if (cia_ispyxis) {
+	if (cia_ispyxis)
 		snprintf(chipset_type, sizeof(chipset_type), "pyxis");
+	else
+		snprintf(chipset_type, sizeof(chipset_type), "cia");
+
+	if (cia_ispyxis || chipset_bwx || chipset == cia_bwx_chipset) {
 		chipset_bwx = 1;
 		chipset_ports = CIA_EV56_BWIO;
 		chipset_memory = CIA_EV56_BWMEM;
 		chipset_dense = CIA_PCI_DENSE;
 	} else {
-		snprintf(chipset_type, sizeof(chipset_type), "cia");
 		chipset_bwx = 0;
 		chipset_ports = CIA_PCI_SIO1;
 		chipset_memory = CIA_PCI_SMEM1;

I am not certain that this is correct, but we are definately screwing up
the non-pyxis BWX case.  This is a sledgehammer approach to see if bwx was
set up earlier on and leave it on, rather than partly resetting it back to
swiz mode but leaving the bwx chipset function pointers.

Cheers,
-Peter
--
Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
"All of this is for nothing if we don't go to the stars" - JMS/B5



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




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