19 #include <linux/sched.h>
34 pr_debug(
"Invalid param: %d is not a valid card id\n", card);
38 pr_debug(
"%s: Entered receivemessage\n",
60 pr_debug(
"%s: Received Message seq:%d pid:%d time:%d cmd:%d "
61 "cnt:%d (type,class,code):(%d,%d,%d) "
62 "link:%d stat:0x%x\n",
97 pr_debug(
"Invalid param: %d is not a valid card id\n", card);
106 pr_debug(
"%s: Attempt to send CM message with engine up\n",
112 pr_debug(
"%s: Attempt to send CE message with engine down\n",
120 sndmsg.
class =
class;
152 pr_debug(
"%s: Sent Message seq:%d pid:%d time:%d "
153 "cnt:%d (type,class,code):(%d,%d,%d) "
183 pr_debug(
"Invalid param: %d is not a valid card id\n", card);
188 retval =
sendmessage(card, procid, type,
class, code, link,
189 data_len, (
unsigned int *) data);
192 pr_debug(
"%s: SendMessage failed in SAR\n",
200 while (tries < timeout) {
208 if ((
sc_adapter[card]->async_msg.type == type) &&