From owner-freebsd-bugs Thu May 18 10:30:22 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 73E6C37B99F for ; Thu, 18 May 2000 10:30:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA41472; Thu, 18 May 2000 10:30:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id D750C37B628; Thu, 18 May 2000 10:24:02 -0700 (PDT) Message-Id: <20000518172402.D750C37B628@hub.freebsd.org> Date: Thu, 18 May 2000 10:24:02 -0700 (PDT) From: tamaru@ap.t.u-tokyo.ac.jp To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/18662: PCI probe shows wrong values in verbose boot Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 18662 >Category: kern >Synopsis: PCI probe shows wrong values in verbose boot >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 18 10:30:03 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Hiroharu Tamaru >Release: 4.0-STABLE but also in CURRENT >Organization: The University of Tokyo >Environment: >Description: /usr/src/sys/pci/pci.c has a typo in function pci_add_map. See the Fix field >How-To-Repeat: Boot the kernel in verbose mode. Watch the PCI probe where it shows the memory and port maps. The type field is always 1 >Fix: --- pci.c 2000/05/11 09:41:54 1.1.1.1 +++ pci.c 2000/05/18 17:16:23 @@ -1086,7 +1086,7 @@ if (bootverbose) { printf("\tmap[%02x]: type %x, range %2d, base %08x, size %2d\n", - reg, pci_maptype(base), ln2range, + reg, pci_maptype(map), ln2range, (unsigned int) base, ln2size); } >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message