From owner-freebsd-questions Wed Jan 20 08:52:50 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA20219 for freebsd-questions-outgoing; Wed, 20 Jan 1999 08:52:50 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ufsc.connectone.com.br ([200.135.0.100]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA20206 for ; Wed, 20 Jan 1999 08:52:46 -0800 (PST) (envelope-from lenzi@k1.com.br) Received: from gate1.ilhadamagia.com.br ([192.168.21.1]) by ufsc.connectone.com.br (8.8.8/8.8.8) with ESMTP id OAA14463 for ; Wed, 20 Jan 1999 14:56:05 GMT (envelope-from lenzi@k1.com.br) Received: from gate1.ilhadamagia.com.br (gate1.ilhadamagia.com.br [192.168.26.2]) by gate1.ilhadamagia.com.br (8.8.8/8.8.7) with SMTP id NAA28238 for ; Wed, 20 Jan 1999 13:57:06 GMT (envelope-from lenzi@k1.com.br) Date: Wed, 20 Jan 1999 13:57:06 +0000 (GMT) From: Sergio de Almeida Lenzi X-Sender: lenzi@gate1.ilhadamagia.com.br To: questions@FreeBSD.ORG Subject: Problem with pci code on pcibus.c IamReal Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello All.. There is a problem with the code in /usr/src/sys/i386/isa/pcibus.c in FreeBSD 3.0 RELEASE....near line 196 oldval1 = inl(CONF1_ADDR_PORT); if (bootverbose) { printf("pci_open(1):\tmode 1 addr port (0x0cf8) is 0x%08lx\n", oldval1); } oldval1=0; ------> ^^^^^^^^^^^^ inserted (temporary turnaround). The problem occurs only when the motherboard uses chipset VXpro II the variable oldval1 reads 0xcf8cfff0 and the code does not properly find any device on the pci bus. On another machine whith different chipset, oldval1 reads 0x000000c0. and the code works. Thanks for any attention. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message