Date: Mon, 6 Jun 2011 16:27:38 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r222764 - head/sys/dev/pccard Message-ID: <201106061627.p56GRcLw039077@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Mon Jun 6 16:27:38 2011 New Revision: 222764 URL: http://svn.freebsd.org/changeset/base/222764 Log: Make a couple of debug printfs DEVPRINTF. Modified: head/sys/dev/pccard/pccard.c Modified: head/sys/dev/pccard/pccard.c ============================================================================== --- head/sys/dev/pccard/pccard.c Mon Jun 6 16:17:56 2011 (r222763) +++ head/sys/dev/pccard/pccard.c Mon Jun 6 16:27:38 2011 (r222764) @@ -1405,8 +1405,8 @@ pccard_ccr_read_impl(device_t brdev, dev struct pccard_ivar *devi = PCCARD_IVAR(child); *val = pccard_ccr_read(devi->pf, offset); - device_printf(child, "ccr_read of %#x (%#x) is %#x\n", offset, - devi->pf->pf_ccr_offset, *val); + DEVPRINTF((child, "ccr_read of %#x (%#x) is %#x\n", offset, + devi->pf->pf_ccr_offset, *val)); return 0; } @@ -1421,8 +1421,8 @@ pccard_ccr_write_impl(device_t brdev, de * Can't use pccard_ccr_write since client drivers may access * registers not contained in the 'mask' if they are non-standard. */ - device_printf(child, "ccr_write of %#x to %#x (%#x)\n", val, offset, - devi->pf->pf_ccr_offset); + DEVPRINTF((child, "ccr_write of %#x to %#x (%#x)\n", val, offset, + devi->pf->pf_ccr_offset)); bus_space_write_1(pf->pf_ccrt, pf->pf_ccrh, pf->pf_ccr_offset + offset, val); return 0;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106061627.p56GRcLw039077>