Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2000 10:24:02 -0700 (PDT)
From:      tamaru@ap.t.u-tokyo.ac.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/18662: PCI probe shows wrong values in verbose boot
Message-ID:  <20000518172402.D750C37B628@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




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