From: Borislav Petkov Date: Mon, 13 Oct 2008 19:39:34 +0000 (+0200) Subject: ide: add drive->debug_mask switch X-Git-Tag: v2.6.28-rc1~599^2~51 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b22b2ca4ff0730b14d14bcc36bd1b84873557512;p=linux-2.6-omap-h63xx.git ide: add drive->debug_mask switch Add a debugging on/off switch for controlling driver debugging messages dynamically. Signed-off-by: Borislav Petkov Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/include/linux/ide.h b/include/linux/ide.h index 350ef47ed61..fcd98e1d186 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