lkml.org 
[lkml]   [1997]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectHow to turn on the DEBUG mode?

thanks for your time, pal.

In some source codes, I see the following debugging statements,

#ifdef DEBUG
(do certain thing)
#else
(do something else)
#endif

The question is how do you turn ON the DEBUG option so that debugging
messages (the ones with printk()) appear on the screen ?

thanks again.
saurabh desai.



specific command to the drive and wait for its completion.

In addition to ll_rw_blk.c originated read/write requests, the request
handling part of the driver also supports additional "rq->cmd" requests.
We can create such requests, insert them into the queue, and sleep
on their completion using ide_do_drive_cmd() with the ide_wait argument.

Gadi

\
 
 \ /
  Last update: 2005-03-22 13:40    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site