| Summary: | pnpinfo only prints first io-start for every logical device | ||
|---|---|---|---|
| Product: | Base System | Reporter: | German Tischler <tanis> |
| Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 5.0-CURRENT | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->closed Committed, thanks! |
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.