]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide: add a driver-wide debugging macro
authorBorislav Petkov <petkovbb@googlemail.com>
Mon, 13 Oct 2008 19:39:35 +0000 (21:39 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 13 Oct 2008 19:39:35 +0000 (21:39 +0200)
commite1c7c4641aae8d278fca62b3b5cffad3a8dcb0a4
tree5fee46f00db24a3ca301dca5fb2d3baddfdd2938
parentb22b2ca4ff0730b14d14bcc36bd1b84873557512
ide: add a driver-wide debugging macro

Add __ide_debug_log() debugging macro which is controlled by drive->debug_mask.
The macro has to have the macro DRV_NAME defined in each driver before use.
Also, add different debugging levels depending on the functionality debugged.

Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
include/linux/ide.h