aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBorislav Petkov <petkovbb@googlemail.com>2008-10-13 15:39:34 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-13 15:39:34 -0400
commitb22b2ca4ff0730b14d14bcc36bd1b84873557512 (patch)
treee7cf77e0dcbaf7785dc2756da4fae98fa948a2de
parent5aeddf907f149cae7e19b7c23ccea3823d00698c (diff)
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>
-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 350ef47ed616..fcd98e1d1863 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -545,6 +545,9 @@ struct ide_drive_s {
545 545
546 int lun; /* logical unit */ 546 int lun; /* logical unit */
547 int crc_count; /* crc counter to reduce drive speed */ 547 int crc_count; /* crc counter to reduce drive speed */
548
549 unsigned long debug_mask; /* debugging levels switch */
550
548#ifdef CONFIG_BLK_DEV_IDEACPI 551#ifdef CONFIG_BLK_DEV_IDEACPI
549 struct ide_acpi_drive_link *acpidata; 552 struct ide_acpi_drive_link *acpidata;
550#endif 553#endif