Date: Sat, 22 Apr 2000 13:42:32 +0200 (CEST) From: tanis@gaspode.franken.de To: FreeBSD-gnats-submit@freebsd.org Subject: bin/18157: pnpinfo only prints first io-start for every logical device Message-ID: <200004221142.NAA01351@gaspode.franken.de>
index | next in thread | raw e-mail
>Number: 18157
>Category: bin
>Synopsis: pnpinfo only prints first io-start for every logical device
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Apr 22 04:50:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: German Tischler
>Release: FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
>Description:
Taken from pnpinfo.c (lines 536 to 538):
for (j=0; j<8; j++)
printf(" 0x%02x%02x", pnp_read(PNP_IO_BASE_HIGH(i)),
pnp_read(PNP_IO_BASE_LOW(i)));
should aparently be
for (j=0; j<8; j++)
printf(" 0x%02x%02x", pnp_read(PNP_IO_BASE_HIGH(j)),
pnp_read(PNP_IO_BASE_LOW(j)));
because it shouldn't print the same address eight times.
>How-To-Repeat:
Run pnpinfo.
>Fix:
Given above.
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004221142.NAA01351>
