What file has the DBG_PRINT message in the source tree?
The flag does mean that command has data associated with it. Most host
controller drivers make decisions on whether to complete a command
inline or via an interrupt based on the how long the command should take
to complete across the bus, how long a spin wait should be allowed, etc.
This reduces the interrupt rate and significantly improves throughput.
=20
Regards
=20
Paul
_____ =20
From: boku [mailto:bok...@gm...]=20
Sent: Wednesday, May 02, 2007 9:36 PM
To: Nicolas Pitre; sdi...@li...
Subject: [Sdio-linux-devel] pReq->Flags & SDREQ_FLAGS_DATA_TRANS??
Hi,=20
In the following code, is it reversed for the determination of
"command only" or "with data"?=20
the SDREQ_FLAGS_DATA_TRANS means the transfer is with data, isn't it?=20
Thank you!=20
DBG_PRINT(MUSTANG_HOST_TRACE_REQUESTS, ("SDIO MUSTANG HOST
HcdRequest using interrupt for command done (%s). (clock:%d, ref:%d)\n",
(pReq->Flags & SDREQ_FLAGS_DATA_TRANS ) ? "command only" : "with data",
SDHCD_GET_OPER_CLOCK(pHcd), pHcInstance->ClockSpinLimit));
=20
|