aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBorislav Petkov <petkovbb@googlemail.com>2008-10-13 21:39:34 +0200
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-13 21:39:34 +0200
commitb22b2ca4ff0730b14d14bcc36bd1b84873557512 (patch)
treee7cf77e0dcbaf7785dc2756da4fae98fa948a2de /include
parent5aeddf907f149cae7e19b7c23ccea3823d00698c (diff)
downloadkernel_samsung_smdk4412-b22b2ca4ff0730b14d14bcc36bd1b84873557512.zip
kernel_samsung_smdk4412-b22b2ca4ff0730b14d14bcc36bd1b84873557512.tar.gz
kernel_samsung_smdk4412-b22b2ca4ff0730b14d14bcc36bd1b84873557512.tar.bz2
ide: add drive->debug_mask switch
Add a debugging on/off switch for controlling driver debugging messages dynamically. Signed-off-by: Borislav Petkov <petkovbb@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ide.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 350ef47..fcd98e1 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -545,6 +545,9 @@ struct ide_drive_s {
int lun; /* logical unit */
int crc_count; /* crc counter to reduce drive speed */
+
+ unsigned long debug_mask; /* debugging levels switch */
+
#ifdef CONFIG_BLK_DEV_IDEACPI
struct ide_acpi_drive_link *acpidata;
#endif