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    [W:0.019 / U:89.676 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site