From owner-freebsd-questions Sun Jan 17 14:10:51 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA07625 for freebsd-questions-outgoing; Sun, 17 Jan 1999 14:10:51 -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 OAA07595 for ; Sun, 17 Jan 1999 14:10:44 -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 UAA19160 for ; Sun, 17 Jan 1999 20:13:15 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 TAA00528 for ; Sun, 17 Jan 1999 19:14:55 GMT (envelope-from lenzi@k1.com.br) Date: Sun, 17 Jan 1999 19:14:55 +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 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