Date: Sun, 10 Sep 2000 09:49:39 +0200 From: Bernd Walter <ticso@cicely5.cicely.de> To: Peter Wemm <peter@netplex.com.au> 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: <20000910094939.A18867@cicely5.cicely.de> In-Reply-To: <200009100616.e8A6GpG76494@netplex.com.au>; from peter@netplex.com.au on Sat, Sep 09, 2000 at 11:16:51PM -0700 References: <20000909141749.A13527@cicely5.cicely.de> <200009100616.e8A6GpG76494@netplex.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 09, 2000 at 11:16:51PM -0700, Peter Wemm wrote: > 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?: cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include -D_KERNEL -include opt_global.h -elf -mno-fp-regs -ffixed-8 -Wa,-mev56 ../../alpha/pci/cia.c ../../alpha/pci/cia.c: In function `cia_attach': ../../alpha/pci/cia.c:493: invalid operands to binary == *** Error code 1 > > 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"); > + That's this line: > + 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. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de 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?20000910094939.A18867>