diff options
author | imp <imp@FreeBSD.org> | 2003-08-27 04:17:02 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2003-08-27 04:17:02 +0000 |
commit | 81fff2b66d53838593cf430f71f625fe8a28e610 (patch) | |
tree | cf51ec0f75aa59950a729df4c1418693b0d75320 | |
parent | c020f7019599326dbcff045e0a90107664dc2715 (diff) | |
download | FreeBSD-src-81fff2b66d53838593cf430f71f625fe8a28e610.zip FreeBSD-src-81fff2b66d53838593cf430f71f625fe8a28e610.tar.gz |
add debug to pcic memory mapping routine
-rw-r--r-- | sys/pccard/pcic.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c index b590437..c21e300 100644 --- a/sys/pccard/pcic.c +++ b/sys/pccard/pcic.c @@ -270,6 +270,11 @@ pcic_memory(struct slot *slt, int win) pcic_putw(sp, reg+2, 0); pcic_putw(sp, reg+4, 0); } + if (bootverbose) + printf("pcic: mem addr %p: reg %d: %x %x %x %x %x %x\n", + mp->start, reg, sp->getb(sp, reg), sp->getb(sp, reg+1), + sp->getb(sp, reg+2), sp->getb(sp, reg+3), + sp->getb(sp, reg+3), sp->getb(sp, reg+5)); return (0); } |