Bug 18157

Summary: pnpinfo only prints first io-start for every logical device
Product: Base System Reporter: German Tischler <tanis>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   

Description German Tischler 2000-04-22 12:50:01 UTC
	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.

Fix: 

Given above.
How-To-Repeat: 
	Run pnpinfo.
Comment 1 iedowse freebsd_committer freebsd_triage 2002-08-09 23:05:14 UTC
State Changed
From-To: open->closed


Committed, thanks!