Use the correct loop variable so that we print all IO addresses and
not just 8 copies of the first one. PR: bin/18157 Submitted by: German Tischler <tanis@gaspode.franken.de>
This commit is contained in:
parent
31ce54e836
commit
68d0de00a3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101611
@ -534,8 +534,8 @@ dump_resdata(u_char *data, int csn)
|
|||||||
printf("\nLogical device #%d\n", pnp_read(PNP_SET_LDN) );
|
printf("\nLogical device #%d\n", pnp_read(PNP_SET_LDN) );
|
||||||
printf("IO: ");
|
printf("IO: ");
|
||||||
for (j=0; j<8; j++)
|
for (j=0; j<8; j++)
|
||||||
printf(" 0x%02x%02x", pnp_read(PNP_IO_BASE_HIGH(i)),
|
printf(" 0x%02x%02x", pnp_read(PNP_IO_BASE_HIGH(j)),
|
||||||
pnp_read(PNP_IO_BASE_LOW(i)));
|
pnp_read(PNP_IO_BASE_LOW(j)));
|
||||||
printf("\nIRQ %d %d\n",
|
printf("\nIRQ %d %d\n",
|
||||||
pnp_read(PNP_IRQ_LEVEL(0)), pnp_read(PNP_IRQ_LEVEL(1)) );
|
pnp_read(PNP_IRQ_LEVEL(0)), pnp_read(PNP_IRQ_LEVEL(1)) );
|
||||||
printf("DMA %d %d\n",
|
printf("DMA %d %d\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user