summaryrefslogtreecommitdiffstats
path: root/sys/pccard
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-08-27 04:17:02 +0000
committerimp <imp@FreeBSD.org>2003-08-27 04:17:02 +0000
commit81fff2b66d53838593cf430f71f625fe8a28e610 (patch)
treecf51ec0f75aa59950a729df4c1418693b0d75320 /sys/pccard
parentc020f7019599326dbcff045e0a90107664dc2715 (diff)
downloadFreeBSD-src-81fff2b66d53838593cf430f71f625fe8a28e610.zip
FreeBSD-src-81fff2b66d53838593cf430f71f625fe8a28e610.tar.gz
add debug to pcic memory mapping routine
Diffstat (limited to 'sys/pccard')
-rw-r--r--sys/pccard/pcic.c5
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);
}
OpenPOWER on IntegriCloud