From: Borislav Petkov Date: Mon, 13 Oct 2008 19:39:34 +0000 (+0200) Subject: ide: add drive->debug_mask switch X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b22b2ca4ff0730b14d14bcc36bd1b84873557512;p=openwrt%2Fstaging%2Fblogic.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 350ef47ed616..fcd98e1d1863 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